From: wilson Date: Fri, 5 Aug 2005 03:20:12 +0000 (+0000) Subject: Fix problem pointed out by Gunther Nikl on gcc list. X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=commitdiff_plain;h=64140cb5711a2ca61458b5d6ad5d172fadbc24e4 Fix problem pointed out by Gunther Nikl on gcc list. * config/ptx4.h, config/sol2.h, config/arm/freebsd.h, config/arm/linux-elf.h, config/frv/frv.h, config/i386/freebsd.h, config/i386/freebsd64.h, config/i386/netware.h, config/i386/sco5.h, config/ia64/freebsd.h, config/rs6000/sysv4.h, config/sparc/freebsd.h (LINK_SPEC): Delete useless %{Wl,*:%*} item. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@102762 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6662acb6f6f..b7bb05e56bf 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2005-08-04 James E Wilson + + * config/ptx4.h, config/sol2.h, config/arm/freebsd.h, + config/arm/linux-elf.h, config/frv/frv.h, config/i386/freebsd.h, + config/i386/freebsd64.h, config/i386/netware.h, config/i386/sco5.h, + config/ia64/freebsd.h, config/rs6000/sysv4.h, config/sparc/freebsd.h + (LINK_SPEC): Delete useless %{Wl,*:%*} item. + 2005-08-04 Richard Henderson PR 21529 diff --git a/gcc/config/arm/freebsd.h b/gcc/config/arm/freebsd.h index 6457bfcda7c..6bae83def63 100644 --- a/gcc/config/arm/freebsd.h +++ b/gcc/config/arm/freebsd.h @@ -30,7 +30,6 @@ #undef LINK_SPEC #define LINK_SPEC " \ %{p:%nconsider using `-pg' instead of `-p' with gprof(1) } \ - %{Wl,*:%*} \ %{v:-V} \ %{assert*} %{R*} %{rpath*} %{defsym*} \ %{shared:-Bshareable %{h*} %{soname*}} \ diff --git a/gcc/config/arm/linux-elf.h b/gcc/config/arm/linux-elf.h index 512d075c36c..100632944d2 100644 --- a/gcc/config/arm/linux-elf.h +++ b/gcc/config/arm/linux-elf.h @@ -83,7 +83,7 @@ #undef LINK_SPEC #define LINK_SPEC "%{h*} %{version:-v} \ - %{b} %{Wl,*:%*} \ + %{b} \ %{static:-Bstatic} \ %{shared:-shared} \ %{symbolic:-Bsymbolic} \ diff --git a/gcc/config/frv/frv.h b/gcc/config/frv/frv.h index 73ecb2a6216..826e457073a 100644 --- a/gcc/config/frv/frv.h +++ b/gcc/config/frv/frv.h @@ -187,7 +187,7 @@ #undef LINK_SPEC #define LINK_SPEC "\ %{h*} %{v:-V} \ -%{b} %{Wl,*:%*} \ +%{b} \ %{mfdpic:-melf32frvfd -z text} \ %{static:-dn -Bstatic} \ %{shared:-Bdynamic} \ diff --git a/gcc/config/i386/freebsd.h b/gcc/config/i386/freebsd.h index 92dd6696cf2..deb92120933 100644 --- a/gcc/config/i386/freebsd.h +++ b/gcc/config/i386/freebsd.h @@ -102,7 +102,6 @@ Boston, MA 02110-1301, USA. */ #undef LINK_SPEC #define LINK_SPEC "\ %{p:%nconsider using `-pg' instead of `-p' with gprof(1)} \ - %{Wl,*:%*} \ %{v:-V} \ %{assert*} %{R*} %{rpath*} %{defsym*} \ %{shared:-Bshareable %{h*} %{soname*}} \ diff --git a/gcc/config/i386/freebsd64.h b/gcc/config/i386/freebsd64.h index 96e5e416030..257bdd95c50 100644 --- a/gcc/config/i386/freebsd64.h +++ b/gcc/config/i386/freebsd64.h @@ -33,7 +33,6 @@ Boston, MA 02110-1301, USA. */ #undef LINK_SPEC #define LINK_SPEC "\ %{m32:-m elf_i386_fbsd} \ - %{Wl,*:%*} \ %{v:-V} \ %{assert*} %{R*} %{rpath*} %{defsym*} \ %{shared:-Bshareable %{h*} %{soname*}} \ diff --git a/gcc/config/i386/netware.h b/gcc/config/i386/netware.h index 190ed3b8e90..d5e79b4a7cf 100644 --- a/gcc/config/i386/netware.h +++ b/gcc/config/i386/netware.h @@ -32,7 +32,7 @@ Boston, MA 02110-1301, USA. */ /* Kinda useless, but what the hell */ #undef LINK_SPEC #define LINK_SPEC "%{h*} %{V} %{v:%{!V:-V}} \ - %{b} %{Wl,*:%*} \ + %{b} \ %{Qy:} %{!Qn:-Qy}" #undef STARTFILE_SPEC diff --git a/gcc/config/i386/sco5.h b/gcc/config/i386/sco5.h index 8f28e39b09c..15d74fab150 100644 --- a/gcc/config/i386/sco5.h +++ b/gcc/config/i386/sco5.h @@ -258,7 +258,7 @@ Boston, MA 02110-1301, USA. */ #undef LINK_SPEC #define LINK_SPEC \ "%{!shared:%{!symbolic:%{!G:-E%{Xa:a}%{!Xa:%{Xc:c}%{!Xc:%{Xk:k}%{!Xk:%{Xt:t}%{!Xt:a}}}},%{ansi:ansi}%{!ansi:%{posix:posix}%{!posix:%{Xpg4:xpg4}%{!Xpg4:%{Xpg4plus:XPG4PLUS}%{!Xpg4plus:%{Xods30:ods30}%{!Xods30:XPG4PLUS}}}}},ELF}}} \ - %{Wl,*:%*} %{YP,*} %{YL,*} %{YU,*} \ + %{YP,*} %{YL,*} %{YU,*} \ %{!YP,*:%{p:-YP,/usr/ccs/libp:/lib/libp:/usr/lib/libp:/usr/ccs/lib:/lib:/usr/lib} \ %{!p:-YP,/usr/ccs/lib:/lib:/usr/lib}} \ %{h*} %{static:-dn -Bstatic %{G:%e-G and -static are mutually exclusive}} \ diff --git a/gcc/config/ia64/freebsd.h b/gcc/config/ia64/freebsd.h index 63d623e243a..23739105d50 100644 --- a/gcc/config/ia64/freebsd.h +++ b/gcc/config/ia64/freebsd.h @@ -25,7 +25,6 @@ Boston, MA 02110-1301, USA. */ #define LINK_SPEC " \ %{p:%nconsider using `-pg' instead of `-p' with gprof(1)} \ - %{Wl,*:%*} \ %{assert*} %{R*} %{rpath*} %{defsym*} \ %{shared:-Bshareable %{h*} %{soname*}} \ %{symbolic:-Bsymbolic} \ diff --git a/gcc/config/ptx4.h b/gcc/config/ptx4.h index 3ba47dc2aab..8c231027dd9 100644 --- a/gcc/config/ptx4.h +++ b/gcc/config/ptx4.h @@ -137,7 +137,7 @@ Boston, MA 02110-1301, USA. #undef LINK_SPEC #define LINK_SPEC "%{h*} %{v:-V} \ - %{b} %{Wl,*:%*} \ + %{b} \ %{static:-dn -Bstatic} \ %{shared:-G -dy -z text} \ %{symbolic:-Bsymbolic -G -dy -z text} \ diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h index 2d5b6e8526d..d5388320c7c 100644 --- a/gcc/config/rs6000/sysv4.h +++ b/gcc/config/rs6000/sysv4.h @@ -1002,7 +1002,6 @@ extern int fixuplabelno; #define LINK_OS_FREEBSD_SPEC "\ %{p:%nconsider using `-pg' instead of `-p' with gprof(1)} \ - %{Wl,*:%*} \ %{v:-V} \ %{assert*} %{R*} %{rpath*} %{defsym*} \ %{shared:-Bshareable %{h*} %{soname*}} \ diff --git a/gcc/config/sol2.h b/gcc/config/sol2.h index ab89c0ba5b2..176d23b5ea1 100644 --- a/gcc/config/sol2.h +++ b/gcc/config/sol2.h @@ -146,7 +146,7 @@ Boston, MA 02110-1301, USA. */ #undef LINK_SPEC #define LINK_SPEC \ "%{h*} %{v:-V} \ - %{b} %{Wl,*:%*} \ + %{b} \ %{static:-dn -Bstatic} \ %{shared:-G -dy %{!mimpure-text:-z text}} \ %{symbolic:-Bsymbolic -G -dy -z text} \ diff --git a/gcc/config/sparc/freebsd.h b/gcc/config/sparc/freebsd.h index 62d199ccc31..d3414004ddb 100644 --- a/gcc/config/sparc/freebsd.h +++ b/gcc/config/sparc/freebsd.h @@ -32,8 +32,7 @@ Boston, MA 02110-1301, USA. */ #define LINK_SPEC "%(link_arch) \ %{!mno-relax:%{!r:-relax}} \ - %{p:%nconsider using `-pg' instead of `-p' with gprof(1)} \ - %{Wl,*:%*} \ + %{p:%nconsider using `-pg' instead of `-p' with gprof(1)} \ %{assert*} %{R*} %{rpath*} %{defsym*} \ %{shared:-Bshareable %{h*} %{soname*}} \ %{symbolic:-Bsymbolic} \