ldlnk960.c: Special #ifdef to choose little endian ony

ldgram.y: allow forward ref of section
This commit is contained in:
Steve Chamberlain 1992-01-29 16:44:09 +00:00
parent cbbdbb9f29
commit 0cc6a79622
3 changed files with 13 additions and 3 deletions

View 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
#

View 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

View File

@ -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 */