From: Doug Evans Date: Wed, 24 May 1995 02:20:13 +0000 (+0000) Subject: (LINK_SPEC): Don't pass "-e start" if nostartfiles rather than nostdlib. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=16b3c7c7d28d626303e31d81d6efc25eec32b0d2;p=gcc.git (LINK_SPEC): Don't pass "-e start" if nostartfiles rather than nostdlib. From-SVN: r9793 --- diff --git a/gcc/config/i386/freebsd.h b/gcc/config/i386/freebsd.h index 102cb948134..570f57a9dd0 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 a27b14c6f7d..e9c325219de 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 6ae0ca8bc2a..d895f55a3d5 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 9ebdec26416..5530ae870b2 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. */