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]

Query reg. unallocated section


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.
-------------------------------------------------------------------------------------------------------------------------
Information transmitted by this E-MAIL is proprietary to Wipro and/or its Customers and
is intended for use only by the individual or entity to which it is
addressed, and may contain information that is privileged, confidential or
exempt from disclosure under applicable law. If you are not the intended
recipient or it appears that this mail has been forwarded to you without
proper authority, you are notified that any use or dissemination of this
information in any manner is strictly prohibited. In such cases, please
notify us immediately at mailto:mailadmin@wipro.com and delete this mail
from your records.
----------------------------------------------------------------------------------------------------------------------

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