Undo patch of May 24. Don't pass "-e start" if -nostdlib again.
authorDoug Evans <dje@gnu.org>
Mon, 12 Jun 1995 19:00:48 +0000 (19:00 +0000)
committerDoug Evans <dje@gnu.org>
Mon, 12 Jun 1995 19:00:48 +0000 (19:00 +0000)
From-SVN: r9931

gcc/config/i386/freebsd.h
gcc/config/i386/sun.h
gcc/config/m68k/sun2o4.h
gcc/config/m68k/sun3.h
gcc/config/m68k/vxm68k.h
gcc/config/mips/netbsd.h
gcc/config/netbsd.h
gcc/config/rs6000/mach.h
gcc/config/sparc/sparc.h
gcc/config/sparc/vxsparc.h

index 570f57a9dd0d2fb80a9b55ab914159a97b69e909..102cb94813401e15abdf3d2c1ea0b111c7b05520 100644 (file)
@@ -225,7 +225,7 @@ do {                                                                    \
 
 #define ASM_SPEC   " %| %{fpic:-k} %{fPIC:-k}"
 #define LINK_SPEC \
-  "%{!nostartfiles:%{!r*:%{!e*:-e start}}} -dc -dp %{static:-Bstatic} %{assert*}"
+  "%{!nostdlib:%{!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.
index e9c325219deb2a1b493e72336b7e04b7e77d9e82..a27b14c6f7de9557d7c1302ad9af1bfe05f7e136 100644 (file)
@@ -35,7 +35,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
 #undef LINK_SPEC
 #define LINK_SPEC \
-  "%{!nostartfiles:%{!r*:%{!e*:-e _start}}} -dc -dp %{static:-Bstatic}"
+  "%{!nostdlib:%{!r*:%{!e*:-e _start}}} -dc -dp %{static:-Bstatic}"
 
 /* Extra switches to give the assembler.  */
 
index d895f55a3d57e41545e570f7eee20c210f12ecb0..6ae0ca8bc2a64816f35d99e39475795e5b75ee21 100644 (file)
@@ -93,7 +93,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
 #undef LINK_SPEC
 #define LINK_SPEC \
-  "%{!nostartfiles:%{!r*:%{!e*:-e start}}} -dc -dp %{static:-Bstatic}"
+  "%{!nostdlib:%{!r*:%{!e*:-e start}}} -dc -dp %{static:-Bstatic}"
 
 #undef ASM_OUTPUT_DOUBLE
 #define ASM_OUTPUT_DOUBLE(FILE,VALUE)                                  \
index 5530ae870b24c50f86f031ca4a0e21d8274e3b8d..9ebdec26416bc3014979e26abc14fcf43244bbe3 100644 (file)
@@ -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 \
- "%{!nostartfiles:%{!r*:%{!e*:-e start}}} -dc -dp %{static:-Bstatic} %{assert*}"
+ "%{!nostdlib:%{!r*:%{!e*:-e start}}} -dc -dp %{static:-Bstatic} %{assert*}"
 
 /* Every structure or union's size must be a multiple of 2 bytes.  */
 
index d649359cb38cecd676cbecc4048518543e23004e..121c057277cc9d77ff4a264f0bbb8f6e975f47ea 100644 (file)
@@ -46,7 +46,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
 /* Provide required defaults for linker -e. */
  
-#define LINK_SPEC "%{!nostartfiles:%{!r*:%{!e*:-e start}}}"
+#define LINK_SPEC "%{!nostdlib:%{!r*:%{!e*:-e start}}}"
 
 /* VxWorks provides the functionality of crt0.o and friends itself.  */
 
index db42f96b1a882d196d1d44a33f219ae123ca9573..6f34ad458dafb0b66f7e93ae650c1e9e924e2921 100644 (file)
@@ -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} \
-   %{!nostartfiles:%{!r*:%{!e*:-e __start}}} -dc -dp %{static:-Bstatic} %{assert*}"
+   %{!nostdlib:%{!r*:%{!e*:-e __start}}} -dc -dp %{static:-Bstatic} %{assert*}"
 
 /* We have atexit(3).  */
 
index d7264d002d9d7f37eeafcb34953c713054499fc3..8c0974ade4dafca578a1de01c6ae96e7235713c0 100644 (file)
@@ -58,7 +58,7 @@
 
 #undef LINK_SPEC
 #define LINK_SPEC \
-  "%{!nostartfiles:%{!r*:%{!e*:-e start}}} -dc -dp %{static:-Bstatic} %{assert*}"
+  "%{!nostdlib:%{!r*:%{!e*:-e start}}} -dc -dp %{static:-Bstatic} %{assert*}"
 
 
 /* We have atexit(3).  */
index 667054a3571bf10c0b768480e2969b71305cc6b4..81a2efc5c53dc301b7c2ab44b306a79850fcc81d 100644 (file)
@@ -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 %{!nostartfiles:%{!r*:%{!e*:-e __start}}} \
+ "-T0x10000000 -D0x20000000 -K %{!nostdlib:%{!r*:%{!e*:-e __start}}} \
   -bnoso -berrmsg -btextro -bhalt:4 -bnodelcsect"
 
 /* MACH doesn't have atexit.  */
index ebc932deb487065137e5155dc53ae813dfbd7622..202f3a56b803fc8c9a22879a3a3d754269ab10c7 100644 (file)
@@ -65,7 +65,7 @@ extern enum arch_type sparc_arch_type;
 /* Provide required defaults for linker -e and -d switches.  */
 
 #define LINK_SPEC \
- "%{!shared:%{!nostartfiles:%{!r*:%{!e*:-e start}}} -dc -dp} %{static:-Bstatic} \
+ "%{!shared:%{!nostdlib:%{!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.  */
index e672c2f18b45bac5ad6365096703d9fb72d8cf7d..fbb14c83df1504115ae10fee8693537917841db3 100644 (file)
@@ -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 "%{!nostartfiles:%{!r*:%{!e*:-e start}}}"
+#define LINK_SPEC "%{!nostdlib:%{!r*:%{!e*:-e start}}}"
 
 /* VxWorks provides the functionality of crt0.o and friends itself.  */
 #undef STARTFILE_SPEC