]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Remove -Y option from linker command line on Linux/Sparc.
authordavem <davem@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 9 May 2012 04:57:49 +0000 (04:57 +0000)
committerdavem <davem@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 9 May 2012 04:57:49 +0000 (04:57 +0000)
gcc/

* config/sparc/linux.h (LINK_SPEC): Don't pass "-Y" option.
* config/sparc/linux64.h (LINK_ARCH32_SPEC): Likewise.
* config/sparc/linux64.h (LINK_ARCH64_SPEC): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187309 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/sparc/linux.h
gcc/config/sparc/linux64.h

index 589109431bf89efadfd984854958fd657ba20d4a..986f2c104360c63b2a9ec3067bb608b8fb47151a 100644 (file)
@@ -1,3 +1,9 @@
+2012-05-08  David S. Miller  <davem@davemloft.net>
+
+       * config/sparc/linux.h (LINK_SPEC): Don't pass "-Y" option.
+       * config/sparc/linux64.h (LINK_ARCH32_SPEC): Likewise.
+       * config/sparc/linux64.h (LINK_ARCH64_SPEC): Likewise.
+
 2012-05-08  Richard Sandiford  <rdsandiford@googlemail.com>
 
        PR rtl-optimization/53278
index 60dc86976e3d1ce13605d323cf67f9ac94ca84f7..ac6c537ed41f2a3e4d4d1b7d0299dea3f4431864 100644 (file)
@@ -87,7 +87,7 @@ extern const char *host_detect_local_cpu (int argc, const char **argv);
 #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
 
 #undef  LINK_SPEC
-#define LINK_SPEC "-m elf32_sparc -Y P,/usr/lib %{shared:-shared} \
+#define LINK_SPEC "-m elf32_sparc %{shared:-shared} \
   %{!mno-relax:%{!r:-relax}} \
   %{!shared: \
     %{!static: \
index 14966b97fc33569141189f585acea44de1746f42..f932e98a342cad36fe345f0f0aa47358b522a537 100644 (file)
@@ -105,7 +105,7 @@ along with GCC; see the file COPYING3.  If not see
   { "link_arch_default", LINK_ARCH_DEFAULT_SPEC },       \
   { "link_arch",        LINK_ARCH_SPEC },
 
-#define LINK_ARCH32_SPEC "-m elf32_sparc -Y P,%R/usr/lib %{shared:-shared} \
+#define LINK_ARCH32_SPEC "-m elf32_sparc %{shared:-shared} \
   %{!shared: \
     %{!static: \
       %{rdynamic:-export-dynamic} \
@@ -113,7 +113,7 @@ along with GCC; see the file COPYING3.  If not see
       %{static:-static}} \
 "
 
-#define LINK_ARCH64_SPEC "-m elf64_sparc -Y P,%R/usr/lib64 %{shared:-shared} \
+#define LINK_ARCH64_SPEC "-m elf64_sparc %{shared:-shared} \
   %{!shared: \
     %{!static: \
       %{rdynamic:-export-dynamic} \