[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/17742] ABI version 1 is not compatible with ABI version 0 output
From: |
cvs-commit at gcc dot gnu.org |
Subject: |
[Bug ld/17742] ABI version 1 is not compatible with ABI version 0 output |
Date: |
Wed, 11 Feb 2015 12:52:07 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=17742
--- Comment #5 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot
gnu.org> ---
The binutils-2_25-branch branch has been updated by Alan Modra
<address@hidden>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e5edeec54c859d3e072fc324ff39fcaf185754fb
commit e5edeec54c859d3e072fc324ff39fcaf185754fb
Author: Alan Modra <address@hidden>
Date: Wed Dec 24 22:07:42 2014 +1030
Don't create .eh_frame_hdr on shared lib bfd
If no object files have .eh_frame, but some shared library does, then
ld creates a .eh_frame_hdr section using the shared library bfd. This
is silly since shared library .eh_frame sections don't contribute to
the output .eh_frame and thus no .eh_frame_hdr is needed.
Also, the bfd section list and count is cleared for shared libraries,
and a zero section count used as a flag in lang_check to omit a call
to bfd_merge_private_bfd_data for shared libraries. If we create a
section on a shared lib bfd then ld will wrongly attempt to merge the
shared library private bfd data.
PR 17742
* ld/emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Exclude
shared libraries in loop looking for .eh_frame sections.
Similarly for build-id loop.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/17742] ABI version 1 is not compatible with ABI version 0 output,
cvs-commit at gcc dot gnu.org <=