Query reg. unallocated section

Shankara Raman S shankara.raman@wipro.com
Mon Oct 29 02:24:00 GMT 2001


Hi,

 We are currently porting the binutils to processor which is very close
to ARM.
 While experimenting with the arm linker, we hit upon the following:

 If a section (.mysect) in an assembly file is not allocable, then its
start
 address is 0x0 by default. If a symbol is defined in such a section,
then the
 symbol is resolved relative to the start (0x0) of that section.

 If another section (which is allocable) starts at address 0x0, then the
symbol
 in section .mysect will be resolved incorrectly.

 Is this expected behaviour ?

Regards,
Shankar

I am not subscribed to this list, so could you please "cc:" to me.


More information about the Binutils mailing list