From: Ludovic Courtès Date: Tue, 23 Jun 2015 09:06:55 +0000 (+0000) Subject: re PR target/65711 (arm*-linux* "link" spec passes '-dynamic-linker' even for '-shared') X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bcd119b7a308c3e89af4fbdaa30d45a146194235;p=gcc.git re PR target/65711 (arm*-linux* "link" spec passes '-dynamic-linker' even for '-shared') PR 65711 * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Move '-dynamic-linker' within %{!shared: ...}. From-SVN: r224826 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b514755f19b..ee2e8d73b8a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2015-06-23 Ludovic Courtès + + PR 65711 + * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Move + '-dynamic-linker' within %{!shared: ...}. + 2015-06-23 Uros Bizjak PR target/66560 diff --git a/gcc/config/arm/linux-elf.h b/gcc/config/arm/linux-elf.h index 6455e62489d..49ad9543f26 100644 --- a/gcc/config/arm/linux-elf.h +++ b/gcc/config/arm/linux-elf.h @@ -70,7 +70,7 @@ %{symbolic:-Bsymbolic} \ %{!static: \ %{rdynamic:-export-dynamic} \ - -dynamic-linker " GNU_USER_DYNAMIC_LINKER "} \ + %{!shared:-dynamic-linker " GNU_USER_DYNAMIC_LINKER "}} \ -X \ %{mbig-endian:-EB} %{mlittle-endian:-EL}" \ SUBTARGET_EXTRA_LINK_SPEC