forbid object files to cross address border
Josef Angermeier
sijoange@cip.informatik.uni-erlangen.de
Fri Jul 22 13:40:00 GMT 2005
Hello
Im doing gcc/gas bios-programming for a virtual machine. Therefore
i tell ld to place the object files between address 0xe0000 and 0xfffff.
But the problem is, no object file may cross (have one half one the one
side, another on the other) address 0xe0000, because this probably
breaks my code.
Of course if could define two memory regions, and put some object files
in the one and the remaining in the other, but the solution should be
"scaleable", object sizes changes with time, so thats not suitable.
Hope you can teach me some trickery :-)
thanks in advance
josef
More information about the Binutils
mailing list