diff options
author | Richard Stallman <rms@gnu.org> | 1992-07-14 03:29:37 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1992-07-14 03:29:37 +0000 |
commit | 3f31889abb324ef69138d2d1f9cc22715eb985d6 (patch) | |
tree | 63f188cf49af811a7334212265b11147954448b9 /gcc | |
parent | 24e2a2bfd84c8c14300476e282f622f5d4e576d3 (diff) | |
download | gcc-3f31889abb324ef69138d2d1f9cc22715eb985d6.zip gcc-3f31889abb324ef69138d2d1f9cc22715eb985d6.tar.gz gcc-3f31889abb324ef69138d2d1f9cc22715eb985d6.tar.bz2 |
(LINK_SPEC): Inhibit the default -e if -r or -nostdlib.
From-SVN: r1585
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/m68k/sun2o4.h | 3 | ||||
-rw-r--r-- | gcc/config/m68k/sun3.h | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/gcc/config/m68k/sun2o4.h b/gcc/config/m68k/sun2o4.h index c30a1cc..0d53c33 100644 --- a/gcc/config/m68k/sun2o4.h +++ b/gcc/config/m68k/sun2o4.h @@ -92,7 +92,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #endif #undef LINK_SPEC -#define LINK_SPEC "%{!e*:-e start} -dc -dp %{static:-Bstatic}" +#define LINK_SPEC \ + "%{!nostdlib:%{!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 2e78399..802d68c 100644 --- a/gcc/config/m68k/sun3.h +++ b/gcc/config/m68k/sun3.h @@ -148,7 +148,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:%{!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. */ |