This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Trouble with empty sections
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: binutils at sourceware dot org
- Date: Wed, 8 Nov 2006 09:44:51 +1030
- Subject: Re: Trouble with empty sections
- References: <20061107145211.GA15428@nevyn.them.org>
On Tue, Nov 07, 2006 at 09:52:11AM -0500, Daniel Jacobowitz wrote:
> Maybe this was intended; if so please let me know and I'll
> update the test. But moving to a non-ALLOC section is decidedly odd.
No, this is certainly not intended behaviour. See linker.c:fix_syms
where we go to some pains to keep symbols in similar sections. Hmm, I
don't see ".stack" described by a struct bfd_elf_special_section
anywhere. Lacking input sections, your .stack output section is
probably being created non-ALLOC.
--
Alan Modra
IBM OzLabs - Linux Technology Centre