re PR target/65711 (arm*-linux* "link" spec passes '-dynamic-linker' even for '-shared')
authorLudovic Courtès <ludo@gnu.org>
Tue, 23 Jun 2015 09:06:55 +0000 (09:06 +0000)
committerLudovic Courtès <ludo@gcc.gnu.org>
Tue, 23 Jun 2015 09:06:55 +0000 (09:06 +0000)
PR 65711
* config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Move
'-dynamic-linker' within %{!shared: ...}.

From-SVN: r224826

gcc/ChangeLog
gcc/config/arm/linux-elf.h

index b514755f19bfe8488234c0877a735a608e89d2a9..ee2e8d73b8a3e2f30cb5a4fe45f422e7c882ee7c 100644 (file)
@@ -1,3 +1,9 @@
+2015-06-23  Ludovic Courtès  <ludo@gnu.org>
+
+       PR 65711
+       * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Move
+       '-dynamic-linker' within %{!shared: ...}.
+
 2015-06-23  Uros Bizjak  <ubizjak@gmail.com>
 
        PR target/66560
index 6455e62489d74db53748eb576c8ba83ba6b09939..49ad9543f2685ac6133261502a700e7e97257616 100644 (file)
@@ -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