diff options
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 } |