Andrew Bird
Andrew Bird
Using ia16-elf-gcc to do the link stage means I don't have to specify the paths or the script ~~~ ia16-elf-gcc -Wall -fpack-struct -mcmodel=tiny -mtsr -c share.c -o share.obj -Os nasm...
Hello @tkchia, > `#define NON_RESIDENT __attribute__((section(".text.startup")))` Yes I had already done this and it seemed to be steering those functions into the non-resident area just fine. I've attached the map...
Hello @tkchia , Am I correct in saying that malloc() allocations start at heap_end_minimum? If so that may be the problem, as the share loader figures out where the end...
Hello @tkchia , > while my script was placing it at the end of the transient portion. But doesn't that mean if we want to release the transient portion we...
Can this work? #### Entry stage - startup data and startup text in position that final bss will occupy .|high -----|----- data.startup | text.startup| data| text| .|low -------------------- #### Setup...
> But it seems the GNU linker scripts do not allow one to position sections "backwards" in memory — e.g. I cannot easily say "allocate a .bss.startup output section in...
I just tried this and it seems to give me what I expect (although SIZEOF didn't seem to work, end of section - start of section did) ~~~ .text.startup (0xfd00...
Don't you need to tell the Makefile how to compile main.c into main.o, else it will be just using compiler defaults?
Maybe let @tkchia know?
No, it's in FDPP's disk init stage so only affects block devices.