This is the mail archive of the binutils@sourceware.org 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]
Other format: [Raw text]

Re: Fix --gc-sections for C++ MIPS ELF


> 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


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