This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
forbid object files to cross address border
- From: Josef Angermeier <sijoange at cip dot informatik dot uni-erlangen dot de>
- To: binutils at sourceware dot org
- Date: Fri, 22 Jul 2005 15:39:58 +0200
- Subject: forbid object files to cross address border
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