aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDoug Evans <dje@gnu.org>1995-05-24 02:20:13 +0000
committerDoug Evans <dje@gnu.org>1995-05-24 02:20:13 +0000
commit16b3c7c7d28d626303e31d81d6efc25eec32b0d2 (patch)
tree66815377de7b33e4050d6742a330a975ed4743e2 /gcc
parenta7c508fe546465509dddaffee3204054c4a70137 (diff)
downloadgcc-16b3c7c7d28d626303e31d81d6efc25eec32b0d2.zip
gcc-16b3c7c7d28d626303e31d81d6efc25eec32b0d2.tar.gz
gcc-16b3c7c7d28d626303e31d81d6efc25eec32b0d2.tar.bz2
(LINK_SPEC): Don't pass "-e start" if nostartfiles rather than nostdlib.
From-SVN: r9793
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/i386/freebsd.h2
-rw-r--r--gcc/config/i386/sun.h2
-rw-r--r--gcc/config/m68k/sun2o4.h2
-rw-r--r--gcc/config/m68k/sun3.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/gcc/config/i386/freebsd.h b/gcc/config/i386/freebsd.h
index 102cb94..570f57a 100644
--- a/gcc/config/i386/freebsd.h
+++ b/gcc/config/i386/freebsd.h
@@ -225,7 +225,7 @@ do { \
#define ASM_SPEC " %| %{fpic:-k} %{fPIC:-k}"
#define LINK_SPEC \
- "%{!nostdlib:%{!r*:%{!e*:-e start}}} -dc -dp %{static:-Bstatic} %{assert*}"
+ "%{!nostartfiles:%{!r*:%{!e*:-e start}}} -dc -dp %{static:-Bstatic} %{assert*}"
/* This is defined when gcc is compiled in the BSD-directory-tree, and must
* make up for the gap to all the stuff done in the GNU-makefiles.
diff --git a/gcc/config/i386/sun.h b/gcc/config/i386/sun.h
index a27b14c..e9c3252 100644
--- a/gcc/config/i386/sun.h
+++ b/gcc/config/i386/sun.h
@@ -35,7 +35,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#undef LINK_SPEC
#define LINK_SPEC \
- "%{!nostdlib:%{!r*:%{!e*:-e _start}}} -dc -dp %{static:-Bstatic}"
+ "%{!nostartfiles:%{!r*:%{!e*:-e _start}}} -dc -dp %{static:-Bstatic}"
/* Extra switches to give the assembler. */
diff --git a/gcc/config/m68k/sun2o4.h b/gcc/config/m68k/sun2o4.h
index 6ae0ca8..d895f55 100644
--- a/gcc/config/m68k/sun2o4.h
+++ b/gcc/config/m68k/sun2o4.h
@@ -93,7 +93,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#undef LINK_SPEC
#define LINK_SPEC \
- "%{!nostdlib:%{!r*:%{!e*:-e start}}} -dc -dp %{static:-Bstatic}"
+ "%{!nostartfiles:%{!r*:%{!e*:-e start}}} -dc -dp %{static:-Bstatic}"
#undef ASM_OUTPUT_DOUBLE
#define ASM_OUTPUT_DOUBLE(FILE,VALUE) \
diff --git a/gcc/config/m68k/sun3.h b/gcc/config/m68k/sun3.h
index 9ebdec2..5530ae8 100644
--- a/gcc/config/m68k/sun3.h
+++ b/gcc/config/m68k/sun3.h
@@ -151,7 +151,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* Provide required defaults for linker -e and -d switches. */
#define LINK_SPEC \
- "%{!nostdlib:%{!r*:%{!e*:-e start}}} -dc -dp %{static:-Bstatic} %{assert*}"
+ "%{!nostartfiles:%{!r*:%{!e*:-e start}}} -dc -dp %{static:-Bstatic} %{assert*}"
/* Every structure or union's size must be a multiple of 2 bytes. */