(LINK_SPEC): Don't pass "-e start" if nostartfiles rather than nostdlib.
authorDoug Evans <dje@gnu.org>
Wed, 24 May 1995 02:20:13 +0000 (02:20 +0000)
committerDoug Evans <dje@gnu.org>
Wed, 24 May 1995 02:20:13 +0000 (02:20 +0000)
From-SVN: r9793

gcc/config/i386/freebsd.h
gcc/config/i386/sun.h
gcc/config/m68k/sun2o4.h
gcc/config/m68k/sun3.h

index 102cb94813401e15abdf3d2c1ea0b111c7b05520..570f57a9dd0d2fb80a9b55ab914159a97b69e909 100644 (file)
@@ -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.
index a27b14c6f7de9557d7c1302ad9af1bfe05f7e136..e9c325219deb2a1b493e72336b7e04b7e77d9e82 100644 (file)
@@ -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.  */
 
index 6ae0ca8bc2a64816f35d99e39475795e5b75ee21..d895f55a3d57e41545e570f7eee20c210f12ecb0 100644 (file)
@@ -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)                                  \
index 9ebdec26416bc3014979e26abc14fcf43244bbe3..5530ae870b24c50f86f031ca4a0e21d8274e3b8d 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 \
- "%{!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.  */