aboutsummaryrefslogtreecommitdiff
path: root/ld
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
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')
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/gld960.em5
2 files changed, 10 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index f602b45..a4bb3d1 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+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.
+
Wed Aug 26 17:28:51 1992 Steve Chamberlain (sac@thepub.cygnus.com)
* ldlang.c (lang_process): don't pass null pointers when
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
}