ldlnk960.c: Special #ifdef to choose little endian ony
authorSteve Chamberlain <sac@cygnus>
Wed, 29 Jan 1992 16:44:09 +0000 (16:44 +0000)
committerSteve Chamberlain <sac@cygnus>
Wed, 29 Jan 1992 16:44:09 +0000 (16:44 +0000)
ldgram.y: allow forward ref of section

ld/.Sanitize
ld/config.h
ld/ldlnk960.c

index e468e1b..f742380 100644 (file)
@@ -38,6 +38,7 @@ configdos.bat
 configure.in
 ld.h
 ld.texinfo
+lderror.c
 ldemul.c
 ldemul.h
 ldctor.c
@@ -81,6 +82,7 @@ ldver.h
 ldwarn.h
 ldwrite.c
 ldwrite.h
+lexsup.c
 makefile.dos
 mkscript.c
 news.sc
@@ -92,7 +94,11 @@ echo Done in `pwd`.
 #
 #
 # $Log$
-# Revision 1.26  1992/01/24 22:35:55  sac
+# Revision 1.27  1992/01/29 16:44:08  sac
+# ldlnk960.c: Special #ifdef to choose little endian ony
+# ldgram.y: allow forward ref of section
+#
+# Revision 1.26  1992/01/24  22:35:55  sac
 # .Sanitize: added relax.c
 # ldsym.c ldlang.* more map stuff
 #
index b128156..b9c43a8 100644 (file)
@@ -33,7 +33,7 @@
 #define EBMON29K_EMULATION_NAME "ebmon29k"
 #define GLDI386AOUT_EMULATION_NAME "gldi386aout"
 /* Otherwise default to this emulation */
-/* Otherwise default to this emulation */
+
 #ifndef DEFAULT_EMULATION
 #ifdef GNU960
 #define DEFAULT_EMULATION GLD960_EMULATION_NAME
index 8936c4e..22d04fc 100755 (executable)
@@ -246,9 +246,13 @@ lnk960_choose_target()
   char *from_outside = getenv(TARGET_ENVIRON);
   if (from_outside != (char *)NULL)
     return from_outside;
+#ifdef LNK960_LITTLE
+  return LNK960_TARGET_LITTLE
+#else
   return LNK960_TARGET;
-
 #endif
+#endif
+
 }
 
 /* The default script if none is offered */