diff options
author | Doug Evans <dje@gnu.org> | 1995-05-24 19:58:12 +0000 |
---|---|---|
committer | Doug Evans <dje@gnu.org> | 1995-05-24 19:58:12 +0000 |
commit | b67e2a2ebc7bef24135857b919e94db8dcd845d0 (patch) | |
tree | a7818bb4496e7f81a568a7cfa69dcf93d0c2c7ae | |
parent | b796119f95a57f153e00860539b3a5cdf8877aa1 (diff) | |
download | gcc-b67e2a2ebc7bef24135857b919e94db8dcd845d0.zip gcc-b67e2a2ebc7bef24135857b919e94db8dcd845d0.tar.gz gcc-b67e2a2ebc7bef24135857b919e94db8dcd845d0.tar.bz2 |
(LINK_SPEC): Don't pass "-e start" if nostartfiles rather than nostdlib.
From-SVN: r9808
-rw-r--r-- | gcc/config/m68k/vxm68k.h | 2 | ||||
-rw-r--r-- | gcc/config/mips/netbsd.h | 2 | ||||
-rw-r--r-- | gcc/config/netbsd.h | 2 | ||||
-rw-r--r-- | gcc/config/rs6000/mach.h | 2 | ||||
-rw-r--r-- | gcc/config/sparc/sparc.h | 2 | ||||
-rw-r--r-- | gcc/config/sparc/vxsparc.h | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/gcc/config/m68k/vxm68k.h b/gcc/config/m68k/vxm68k.h index 121c057..d649359 100644 --- a/gcc/config/m68k/vxm68k.h +++ b/gcc/config/m68k/vxm68k.h @@ -46,7 +46,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ /* Provide required defaults for linker -e. */ -#define LINK_SPEC "%{!nostdlib:%{!r*:%{!e*:-e start}}}" +#define LINK_SPEC "%{!nostartfiles:%{!r*:%{!e*:-e start}}}" /* VxWorks provides the functionality of crt0.o and friends itself. */ diff --git a/gcc/config/mips/netbsd.h b/gcc/config/mips/netbsd.h index 6f34ad4..db42f96 100644 --- a/gcc/config/mips/netbsd.h +++ b/gcc/config/mips/netbsd.h @@ -49,7 +49,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #undef LINK_SPEC #define LINK_SPEC \ "%{G*} %{EB} %{EL} %{mips1} %{mips2} %{mips3} \ - %{!nostdlib:%{!r*:%{!e*:-e __start}}} -dc -dp %{static:-Bstatic} %{assert*}" + %{!nostartfiles:%{!r*:%{!e*:-e __start}}} -dc -dp %{static:-Bstatic} %{assert*}" /* We have atexit(3). */ diff --git a/gcc/config/netbsd.h b/gcc/config/netbsd.h index 8c0974a..d7264d0 100644 --- a/gcc/config/netbsd.h +++ b/gcc/config/netbsd.h @@ -58,7 +58,7 @@ #undef LINK_SPEC #define LINK_SPEC \ - "%{!nostdlib:%{!r*:%{!e*:-e start}}} -dc -dp %{static:-Bstatic} %{assert*}" + "%{!nostartfiles:%{!r*:%{!e*:-e start}}} -dc -dp %{static:-Bstatic} %{assert*}" /* We have atexit(3). */ diff --git a/gcc/config/rs6000/mach.h b/gcc/config/rs6000/mach.h index 81a2efc..667054a 100644 --- a/gcc/config/rs6000/mach.h +++ b/gcc/config/rs6000/mach.h @@ -29,7 +29,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ /* Define different binder options for MACH. */ #undef LINK_SPEC #define LINK_SPEC \ - "-T0x10000000 -D0x20000000 -K %{!nostdlib:%{!r*:%{!e*:-e __start}}} \ + "-T0x10000000 -D0x20000000 -K %{!nostartfiles:%{!r*:%{!e*:-e __start}}} \ -bnoso -berrmsg -btextro -bhalt:4 -bnodelcsect" /* MACH doesn't have atexit. */ diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h index 202f3a5..ebc932d 100644 --- a/gcc/config/sparc/sparc.h +++ b/gcc/config/sparc/sparc.h @@ -65,7 +65,7 @@ extern enum arch_type sparc_arch_type; /* Provide required defaults for linker -e and -d switches. */ #define LINK_SPEC \ - "%{!shared:%{!nostdlib:%{!r*:%{!e*:-e start}}} -dc -dp} %{static:-Bstatic} \ + "%{!shared:%{!nostartfiles:%{!r*:%{!e*:-e start}}} -dc -dp} %{static:-Bstatic} \ %{assert*} %{shared:-assert pure-text}" /* Special flags to the Sun-4 assembler when using pipe for input. */ diff --git a/gcc/config/sparc/vxsparc.h b/gcc/config/sparc/vxsparc.h index fbb14c8..e672c2f 100644 --- a/gcc/config/sparc/vxsparc.h +++ b/gcc/config/sparc/vxsparc.h @@ -28,7 +28,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ /* Provide required defaults for linker -e. */ #undef LINK_SPEC -#define LINK_SPEC "%{!nostdlib:%{!r*:%{!e*:-e start}}}" +#define LINK_SPEC "%{!nostartfiles:%{!r*:%{!e*:-e start}}}" /* VxWorks provides the functionality of crt0.o and friends itself. */ #undef STARTFILE_SPEC |