Andrew Bird
Andrew Bird
I was looking at the NASM code. To cooperate with your segelf support do you think that the only required changes to NASM will be in the ELF output stage?...
Hi @ecm-pushbx, yes I now realise your proper username is not what I typed. I guess my lapse is a consequence of Github automatically filling it in for me most...
@tkchia I thought I'd do a few experiments around writing the MZ EXE header differently. Before I start I want to create a simple test with ia16-elf-gcc and understand the...
Hi @tkchia, Ahh, I'd seen that the value was truncated in the actual header, but I hadn't realised it was intentional. Here's the output from my little header printer script....
Hello @tkchia, > For now I guess you can try to force the output format to elf32-i386 instead of binary, by using a -Wl,--oformat=elf32-i386 option. This should yield a ELF...
Hello @tkchia, Thanks for the info, I'm sure it will be most useful. I'm currently thinking of doing the calculations in the linker script just as you do now. But...
Hello @tkchia, I switched back to the lma != vma method rather than -msegelf. Can you tell me which linker script is in operation when I issue this command, please?...
Hello, @tkchia, Sorry to keep spamming you! I have now figured out that I am using the right linker script for a base. Thank you!
Hello @tkchia, I don't understand why the functions being linked in are different according to which output is used e.g. ##### std compile/link in one operation ~~~ .text 0x0000000000000244 0x114e...
Hello @tkchia, That really helped, so now the output is looking similar. Thank you!