This is the mail archive of the
mailing list for the binutils project.
Re: [RFC] PR ld/13621
On 01/30/2012 02:26 PM, Alan Modra wrote:
> On Mon, Jan 30, 2012 at 11:56:49AM +1100, Richard Henderson wrote:
>> This PR is about elflint warning about symbols outside of the section
>> with which they are associated.
> Huh. So what's wrong with a symbol belonging to a section but defined
> outside of 0..section_size-1? Particularly if it happens to be
> defined at section_size. That's quite a natural way to mark out the
> bounds of an array. I think this is just elflint being silly.
It isn't at section_size. The case mjw saw had the symbol at
section_size + 8. The test case I created has the symbol at
section_size + 2M (or whatever the x86_64 maxpagesize is).