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

From-SVN: r224828

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

index a63f624e17a9cb06a1e5d354a449895a7b46d528..1c8d1ebf1a6ff7e68007655c59c8eb9151280f45 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  Release Manager
 
        * GCC 4.8.5 released.
index 488efa4ba15f64a0a454e40f15b85cc589aa659e..81884234489ff37a7a0040bf0f8b10ae870670eb 100644 (file)
@@ -65,7 +65,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