From: James E Wilson Date: Fri, 5 Aug 2005 03:20:12 +0000 (-0700) Subject: Fix problem pointed out by Gunther Nikl on gcc list. X-Git-Tag: misc/cutover-cvs2svn~1332 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3f94bdecbc6657d7cba51c8e368f3d29f353723c;p=thirdparty%2Fgcc.git 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. From-SVN: r102762 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6662acb6f6f2..b7bb05e56bfe 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 6457bfcda7c5..6bae83def632 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 512d075c36c8..100632944d2e 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 73ecb2a62166..826e457073a9 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 92dd6696cf21..deb92120933e 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 96e5e4160309..257bdd95c507 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 190ed3b8e901..d5e79b4a7cfe 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 8f28e39b09cf..15d74fab1505 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 63d623e243ad..23739105d50a 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 3ba47dc2aab6..8c231027dd9a 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 2d5b6e8526d3..d5388320c7c3 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 ab89c0ba5b24..176d23b5ea1f 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 62d199ccc31b..d3414004ddbc 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} \