aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlnk960.c
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1992-01-29 16:44:09 +0000
committerSteve Chamberlain <sac@cygnus>1992-01-29 16:44:09 +0000
commit0cc6a79622d952962533853939af8a91570630b5 (patch)
treeb1bd58902949d2339cb29961dc115a0b0c43f1e2 /ld/ldlnk960.c
parentcbbdbb9f2933a0d6d64faeaa72e6e75b3fa720a3 (diff)
downloadgdb-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/ldlnk960.c')
-rwxr-xr-xld/ldlnk960.c6
1 files changed, 5 insertions, 1 deletions
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 */