[PATCH] --gc-sections and .gnu.linkonce.t.* sections
Eric Botcazou
ebotcazou@adacore.com
Sun Dec 10 18:30:00 GMT 2006
Hi Alan,
This is the patch you pre-approved a few weeks ago, which teaches the linker
to keep the .gcc_except_table.* sections in presence of the corresponding
.gnu.linkonce.t.* sections. It's needed with GCC 4.3exp when COMDAT groups
are not used. Next I'll submit the GCC patch to detect the fixed linker. :-)
Tested on i586-suse-linux. OK for mainline? What about 2.17 branch?
Btw, now that there is an (experimental) FSF compiler with the support, do you
want me to write a few testcases for the improved --gc-sections? If so, in
which directory should I put them?
2006-12-10 Eric Botcazou <ebotcazou@adacore.com>
bfd/
* elflink.c (bfd_elf_gc_sections): Also search for corresponding
sections with .gnu.linkonce.t. prefix.
--
Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr29639_bfd-3.diff
Type: text/x-diff
Size: 2285 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20061210/4d2e77ad/attachment.bin>
More information about the Binutils
mailing list