This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Fix --gc-sections for C++ MIPS ELF
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: Richard Sandiford <rsandifo at nildram dot co dot uk>
- Cc: binutils at sourceware dot org
- Date: Sun, 2 Dec 2007 23:26:57 +0100
- Subject: Re: Fix --gc-sections for C++ MIPS ELF
- References: <87r6i4svjg.fsf@firetop.home>
> Non-PIC CIEs for targets like x86_64-linux-gnu also have direct references
> to the personality routines. I suspect the only reason -Wl,--gc-sections
> -static-libgcc works for them is that libgcc's own CIEs use an indirect
> reference, so the section gets marked that way.
The section is supposed to be always marked, see scripttempl/elf.sc.
--
Eric Botcazou