aboutsummaryrefslogtreecommitdiff
path: root/ld/gld960.em
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1992-08-28 00:08:35 +0000
committerIan Lance Taylor <ian@airs.com>1992-08-28 00:08:35 +0000
commit94cc1ee79d52a65c88df088869ecadf133cae979 (patch)
treefff39c82d9c5946d267a893d01b9f773c4976aa4 /ld/gld960.em
parent8e3d11580a618ef60a4581c69d9db5fced2ddd9c (diff)
downloadgdb-94cc1ee79d52a65c88df088869ecadf133cae979.zip
gdb-94cc1ee79d52a65c88df088869ecadf133cae979.tar.gz
gdb-94cc1ee79d52a65c88df088869ecadf133cae979.tar.bz2
Thu Aug 27 16:38:42 1992 Ian Lance Taylor (ian@cygnus.com)
* gld960.em (gld960_choose_target): the target depends on HOST_BIG_ENDIAN_P.
Diffstat (limited to 'ld/gld960.em')
-rw-r--r--ld/gld960.em5
1 files changed, 5 insertions, 0 deletions
diff --git a/ld/gld960.em b/ld/gld960.em
index e70580d..be375d5 100644
--- a/ld/gld960.em
+++ b/ld/gld960.em
@@ -104,7 +104,12 @@ gld960_choose_target()
if (from_outside != (char *)NULL)
return from_outside;
+
+#ifdef HOST_BIG_ENDIAN_P
return "b.out.big";
+#else
+ return "b.out.little";
+#endif
#endif
}