projects/guix·blob python-team · refs

20 lines · 742 B

1Do not pass -dynamic-linker to linker when !shared.
2Fixes <http://bugs.gnu.org/20102>.
3
4ARM 'link' spec issue reported at
5https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65711 and
6https://gcc.gnu.org/ml/gcc-patches/2015-04/msg01387.html.
7
8Patch by Ludovic Courtès <[email protected]>.
9
10--- gcc-4.8.4/gcc/config/arm/linux-elf.h.orig 2015-04-08 20:31:20.376900478 +0200
11+++ gcc-4.8.4/gcc/config/arm/linux-elf.h 2015-04-08 20:31:36.437014437 +0200
12@@ -65,7 +65,7 @@
13 %{symbolic:-Bsymbolic} \
14 %{!static: \
15 %{rdynamic:-export-dynamic} \
16- -dynamic-linker " GNU_USER_DYNAMIC_LINKER "} \
17+ %{!shared:-dynamic-linker " GNU_USER_DYNAMIC_LINKER "}} \
18 -X \
19 %{mbig-endian:-EB} %{mlittle-endian:-EL}" \
20 SUBTARGET_EXTRA_LINK_SPEC