[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/25882] .gnu.attributes are not checked for shared libraries
From: |
cvs-commit at gcc dot gnu.org |
Subject: |
[Bug ld/25882] .gnu.attributes are not checked for shared libraries |
Date: |
Fri, 01 May 2020 06:03:26 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=25882
--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot
gnu.org> ---
The master branch has been updated by Alan Modra <address@hidden>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=a8acd6eeb6dc2cc5460ece90f90ebe36b56b20ba
commit a8acd6eeb6dc2cc5460ece90f90ebe36b56b20ba
Author: Alan Modra <address@hidden>
Date: Fri May 1 15:23:17 2020 +0930
PR25882, .gnu.attributes are not checked for shared libraries
This allows backend merge_private_bfd_data to examine shared library
e_flags and/or .gnu.attributes. ARM and PowerPC have done so when
using ld.gold for a long time.
(The tic6x change below is dead code due to the earlier FIXME,
but this is probably one of the changes needed there.)
PR 25882
bfd/
* elf32-tic6x.c (elf32_tic6x_merge_attributes): Don't transfer
Tag_ABI_PIC or Tag_ABI_PID from dynamic objects to the output.
ld/
* ldlang.c (lang_check): Call bfd_merge_private_bfd_data for
shared libraries.
--
You are receiving this mail because:
You are on the CC list for the bug.