From 94cc1ee79d52a65c88df088869ecadf133cae979 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 28 Aug 1992 00:08:35 +0000 Subject: [PATCH] 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. --- ld/ChangeLog | 5 +++++ ld/gld960.em | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/ld/ChangeLog b/ld/ChangeLog index f602b45f0c4..a4bb3d1d67f 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 e70580db2a7..be375d5a8d0 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 } -- 2.30.2