Commit 7aed7dfc by Joseph Myers Committed by Joseph Myers

openbsdelf.h (LINK_SPEC): Use %{r:} not %{r*:}.

	* config/i386/openbsdelf.h (LINK_SPEC): Use %{r:} not %{r*:}.
	* config/mips/openbsd.h (LINK_SPEC): Use %{r:} not %{r*:}.
	* config/netbsd-aout.h (NETBSD_LINK_SPEC_AOUT): Use %{r:} not
	%{r*:}.
	* config/netbsd-elf.h (NETBSD_LINK_SPEC_ELF): Use %{r:} not
	%{r*:}.
	* config/sparc/openbsd64.h (LINK_SPEC): Use %{r:} not %{r*:}.
	* config/vax/netbsd-elf.h (LINK_SPEC): Use %{r:} not %{r*:}.

From-SVN: r167635
parent e59dabd2
2010-12-09 Joseph Myers <joseph@codesourcery.com> 2010-12-09 Joseph Myers <joseph@codesourcery.com>
* config/i386/openbsdelf.h (LINK_SPEC): Use %{r:} not %{r*:}.
* config/mips/openbsd.h (LINK_SPEC): Use %{r:} not %{r*:}.
* config/netbsd-aout.h (NETBSD_LINK_SPEC_AOUT): Use %{r:} not
%{r*:}.
* config/netbsd-elf.h (NETBSD_LINK_SPEC_ELF): Use %{r:} not
%{r*:}.
* config/sparc/openbsd64.h (LINK_SPEC): Use %{r:} not %{r*:}.
* config/vax/netbsd-elf.h (LINK_SPEC): Use %{r:} not %{r*:}.
2010-12-09 Joseph Myers <joseph@codesourcery.com>
* config/alpha/freebsd.h (LINK_SPEC): Don't use * config/alpha/freebsd.h (LINK_SPEC): Don't use
%{!dynamic-linker:}. %{!dynamic-linker:}.
* config/alpha/linux-elf.h (LINK_SPEC): Likewise. * config/alpha/linux-elf.h (LINK_SPEC): Likewise.
...@@ -124,7 +124,7 @@ along with GCC; see the file COPYING3. If not see ...@@ -124,7 +124,7 @@ along with GCC; see the file COPYING3. If not see
#undef LINK_SPEC #undef LINK_SPEC
#define LINK_SPEC \ #define LINK_SPEC \
"%{!shared:%{!nostdlib:%{!r*:%{!e*:-e __start}}}} \ "%{!shared:%{!nostdlib:%{!r:%{!e*:-e __start}}}} \
%{shared:-shared} %{R*} \ %{shared:-shared} %{R*} \
%{static:-Bstatic} \ %{static:-Bstatic} \
%{!static:-Bdynamic} \ %{!static:-Bdynamic} \
......
...@@ -83,7 +83,7 @@ along with GCC; see the file COPYING3. If not see ...@@ -83,7 +83,7 @@ along with GCC; see the file COPYING3. If not see
%{call_shared} %{no_archive} %{exact_version} \ %{call_shared} %{no_archive} %{exact_version} \
%{!shared: %{!non_shared: %{!call_shared: -non_shared}}} \ %{!shared: %{!non_shared: %{!call_shared: -non_shared}}} \
-dynamic-linker /usr/libexec/ld.so \ -dynamic-linker /usr/libexec/ld.so \
%{!nostdlib:%{!r*:%{!e*:-e __start}}} -dc -dp \ %{!nostdlib:%{!r:%{!e*:-e __start}}} -dc -dp \
%{static:-Bstatic} %{!static:-Bdynamic} %{assert*}" %{static:-Bstatic} %{!static:-Bdynamic} %{assert*}"
/* -G is incompatible with -KPIC which is the default, so only allow objects /* -G is incompatible with -KPIC which is the default, so only allow objects
......
...@@ -57,7 +57,7 @@ along with GCC; see the file COPYING3. If not see ...@@ -57,7 +57,7 @@ along with GCC; see the file COPYING3. If not see
"%{nostdlib:-nostdlib} \ "%{nostdlib:-nostdlib} \
%{!shared: \ %{!shared: \
%{!nostdlib: \ %{!nostdlib: \
%{!r*: \ %{!r: \
%{!e*:-e start}}} \ %{!e*:-e start}}} \
-dc -dp \ -dc -dp \
%{static:-Bstatic}} \ %{static:-Bstatic}} \
......
...@@ -73,7 +73,7 @@ along with GCC; see the file COPYING3. If not see ...@@ -73,7 +73,7 @@ along with GCC; see the file COPYING3. If not see
%{!shared: \ %{!shared: \
-dc -dp \ -dc -dp \
%{!nostdlib: \ %{!nostdlib: \
%{!r*: \ %{!r: \
%{!e*:-e %(netbsd_entry_point)}}} \ %{!e*:-e %(netbsd_entry_point)}}} \
%{!static: \ %{!static: \
%{rdynamic:-export-dynamic} \ %{rdynamic:-export-dynamic} \
......
...@@ -72,7 +72,7 @@ along with GCC; see the file COPYING3. If not see ...@@ -72,7 +72,7 @@ along with GCC; see the file COPYING3. If not see
#undef LINK_SPEC #undef LINK_SPEC
#define LINK_SPEC \ #define LINK_SPEC \
"%{!shared:%{!nostdlib:%{!r*:%{!e*:-e __start}}}} \ "%{!shared:%{!nostdlib:%{!r:%{!e*:-e __start}}}} \
%{shared:-shared} %{R*} \ %{shared:-shared} %{R*} \
%{static:-Bstatic} \ %{static:-Bstatic} \
%{!static:-Bdynamic} \ %{!static:-Bdynamic} \
......
/* Definitions of target machine for GNU compiler, /* Definitions of target machine for GNU compiler,
for NetBSD/vax ELF systems. for NetBSD/vax ELF systems.
Copyright (C) 2002, 2007, 2009 Free Software Foundation, Inc. Copyright (C) 2002, 2007, 2009, 2010 Free Software Foundation, Inc.
This file is part of GCC. This file is part of GCC.
...@@ -52,7 +52,7 @@ along with GCC; see the file COPYING3. If not see ...@@ -52,7 +52,7 @@ along with GCC; see the file COPYING3. If not see
%{!shared: \ %{!shared: \
-dc -dp \ -dc -dp \
%{!nostdlib: \ %{!nostdlib: \
%{!r*: \ %{!r: \
%{!e*:-e %(netbsd_entry_point)}}} \ %{!e*:-e %(netbsd_entry_point)}}} \
%{!static:-static} \ %{!static:-static} \
%{static:-static}}" %{static:-static}}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment