diff options
author | Steve Chamberlain <sac@cygnus> | 1992-01-29 16:44:09 +0000 |
---|---|---|
committer | Steve Chamberlain <sac@cygnus> | 1992-01-29 16:44:09 +0000 |
commit | 0cc6a79622d952962533853939af8a91570630b5 (patch) | |
tree | b1bd58902949d2339cb29961dc115a0b0c43f1e2 /ld | |
parent | cbbdbb9f2933a0d6d64faeaa72e6e75b3fa720a3 (diff) | |
download | gdb-0cc6a79622d952962533853939af8a91570630b5.zip gdb-0cc6a79622d952962533853939af8a91570630b5.tar.gz gdb-0cc6a79622d952962533853939af8a91570630b5.tar.bz2 |
ldlnk960.c: Special #ifdef to choose little endian ony
ldgram.y: allow forward ref of section
Diffstat (limited to 'ld')
-rw-r--r-- | ld/.Sanitize | 8 | ||||
-rw-r--r-- | ld/config.h | 2 | ||||
-rwxr-xr-x | ld/ldlnk960.c | 6 |
3 files changed, 13 insertions, 3 deletions
diff --git a/ld/.Sanitize b/ld/.Sanitize index e468e1b..f742380 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 b128156..b9c43a8 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 8936c4e..22d04fc 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 */ |