ld maps sections without consider memory region?

Masaki Muranaka monaka@monami-software.com
Thu Feb 15 16:31:00 GMT 2007


Hello Nick,

On 2007/02/16, at 0:29, Nick Clifton wrote:
> This is because you have not defined the program headers for your  
> executable, so the linker has created one.  Since on the MIPS pages  
> are 0x10000 in size the linker creates just one segment to contain  
> both the .begin and the .tail sections.

I can't figure out why MIPS pages has priority over MEMORY command.

It may cause a critical issue if there are memory mapped I/Os
between each sections.
(yes, just an example. But this is possible, right?)

--
Masaki Muranaka
Monami software




More information about the Binutils mailing list