diff options
author | Ian Lance Taylor <ian@airs.com> | 1992-08-28 00:08:35 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1992-08-28 00:08:35 +0000 |
commit | 94cc1ee79d52a65c88df088869ecadf133cae979 (patch) | |
tree | fff39c82d9c5946d267a893d01b9f773c4976aa4 /ld | |
parent | 8e3d11580a618ef60a4581c69d9db5fced2ddd9c (diff) | |
download | gdb-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/ChangeLog | 5 | ||||
-rw-r--r-- | ld/gld960.em | 5 |
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 } |