diff options
author | David S. Miller <davem@davemloft.net> | 2012-05-09 04:57:49 +0000 |
---|---|---|
committer | David S. Miller <davem@gcc.gnu.org> | 2012-05-08 21:57:49 -0700 |
commit | 36e0c0a5157a20eda403d230392327c73a9b9e12 (patch) | |
tree | 4a5f1dd7c4aadd0e219109fbcabb6942cbbc1f68 | |
parent | bc88cc2436db0dcc4668d4f8c82e618ece146614 (diff) | |
download | gcc-36e0c0a5157a20eda403d230392327c73a9b9e12.zip gcc-36e0c0a5157a20eda403d230392327c73a9b9e12.tar.gz gcc-36e0c0a5157a20eda403d230392327c73a9b9e12.tar.bz2 |
Remove -Y option from linker command line on Linux/Sparc.
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.
From-SVN: r187309
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/sparc/linux.h | 2 | ||||
-rw-r--r-- | gcc/config/sparc/linux64.h | 4 |
3 files changed, 9 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5891094..986f2c1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/config/sparc/linux.h b/gcc/config/sparc/linux.h index 60dc869..ac6c537ed 100644 --- a/gcc/config/sparc/linux.h +++ b/gcc/config/sparc/linux.h @@ -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: \ diff --git a/gcc/config/sparc/linux64.h b/gcc/config/sparc/linux64.h index 14966b97..f932e98 100644 --- a/gcc/config/sparc/linux64.h +++ b/gcc/config/sparc/linux64.h @@ -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} \ |