changeset 27346:47152260ac4c

(LD_SWITCH_MACHINE): Define differently for GCC.
author Gerd Moellmann <gerd@gnu.org>
date Mon, 17 Jan 2000 09:50:09 +0000
parents 15a661269a09
children 1c4d4979ffc2
files src/m/news-risc.h
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/m/news-risc.h	Mon Jan 17 09:29:10 2000 +0000
+++ b/src/m/news-risc.h	Mon Jan 17 09:50:09 2000 +0000
@@ -26,7 +26,11 @@
 
 #define COFF
 #undef LD_SWITCH_MACHINE
+#ifdef __GNUC__
+#define LD_SWITCH_MACHINE -Xlinker -x -Xlinker -D -Xlinker 800000
+#else
 #define LD_SWITCH_MACHINE -x -D 800000
+#endif
 
 /* #define C_OPTIMIZE_SWITCH -O2 */
 #define C_OPTIMIZE_SWITCH -O
@@ -42,6 +46,7 @@
 
 /* Don't use the definitions in m/mips.h.  */
 #undef LINKER
+#define LINKER $(CC) -nostdlib
 #undef LIBS_MACHINE
 #define LIBS_MACHINE -lmld