diff --git a/ld/.Sanitize b/ld/.Sanitize index e468e1b52b..f742380bdd 100644 --- a/ld/.Sanitize +++ b/ld/.Sanitize @@ -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 # diff --git a/ld/config.h b/ld/config.h index b1281567b1..b9c43a82c5 100644 --- a/ld/config.h +++ b/ld/config.h @@ -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 diff --git a/ld/ldlnk960.c b/ld/ldlnk960.c index 8936c4e730..22d04fcdea 100755 --- a/ld/ldlnk960.c +++ b/ld/ldlnk960.c @@ -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 */