This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]