This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Query reg. unallocated section
- To: Shankara Raman S <shankara dot raman at wipro dot com>
- Subject: Re: Query reg. unallocated section
- From: Philip Blundell <pb at nexus dot co dot uk>
- Date: Mon, 29 Oct 2001 10:55:22 +0000
- cc: binutils at sources dot redhat dot com
- References: <3BDD2DF7.81A26EE3@wipro.com>
> 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.