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>
* 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
%{!dynamic-linker:}.
* config/alpha/linux-elf.h (LINK_SPEC): Likewise.
......@@ -124,7 +124,7 @@ along with GCC; see the file COPYING3. If not see
#undef LINK_SPEC
#define LINK_SPEC \
"%{!shared:%{!nostdlib:%{!r*:%{!e*:-e __start}}}} \
"%{!shared:%{!nostdlib:%{!r:%{!e*:-e __start}}}} \
%{shared:-shared} %{R*} \
%{static:-Bstatic} \
%{!static:-Bdynamic} \
......
......@@ -83,7 +83,7 @@ along with GCC; see the file COPYING3. If not see
%{call_shared} %{no_archive} %{exact_version} \
%{!shared: %{!non_shared: %{!call_shared: -non_shared}}} \
-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*}"
/* -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
"%{nostdlib:-nostdlib} \
%{!shared: \
%{!nostdlib: \
%{!r*: \
%{!r: \
%{!e*:-e start}}} \
-dc -dp \
%{static:-Bstatic}} \
......
......@@ -73,7 +73,7 @@ along with GCC; see the file COPYING3. If not see
%{!shared: \
-dc -dp \
%{!nostdlib: \
%{!r*: \
%{!r: \
%{!e*:-e %(netbsd_entry_point)}}} \
%{!static: \
%{rdynamic:-export-dynamic} \
......
......@@ -72,7 +72,7 @@ along with GCC; see the file COPYING3. If not see
#undef LINK_SPEC
#define LINK_SPEC \
"%{!shared:%{!nostdlib:%{!r*:%{!e*:-e __start}}}} \
"%{!shared:%{!nostdlib:%{!r:%{!e*:-e __start}}}} \
%{shared:-shared} %{R*} \
%{static:-Bstatic} \
%{!static:-Bdynamic} \
......
/* Definitions of target machine for GNU compiler,
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.
......@@ -52,7 +52,7 @@ along with GCC; see the file COPYING3. If not see
%{!shared: \
-dc -dp \
%{!nostdlib: \
%{!r*: \
%{!r: \
%{!e*:-e %(netbsd_entry_point)}}} \
%{!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