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]

Re: Query reg. unallocated section


> 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.

Do you have a test case that demonstrates this problem?  Also, you don't say 
what version of binutils you are using.

p.


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