diff options
author | Nick Clifton <nickc@redhat.com> | 2001-12-18 14:33:38 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2001-12-18 14:33:38 +0000 |
commit | 131b098398134e6022d9f627fee29468f51a4396 (patch) | |
tree | 0c4c34e715383ed79b7fa12b18592a81b372bde8 /gas/configure.in | |
parent | 1cbbfaf9a2ea0058d9d93f470c0a0303b039fa64 (diff) | |
download | gdb-131b098398134e6022d9f627fee29468f51a4396.zip gdb-131b098398134e6022d9f627fee29468f51a4396.tar.gz gdb-131b098398134e6022d9f627fee29468f51a4396.tar.bz2 |
Fix endian detection for configuration of sh-linux builds
Tidy up dates in ChangeLog.
Diffstat (limited to 'gas/configure.in')
-rw-r--r-- | gas/configure.in | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gas/configure.in b/gas/configure.in index 03b612e..5174925 100644 --- a/gas/configure.in +++ b/gas/configure.in @@ -396,8 +396,13 @@ changequote([,])dnl s390x-*-linux-gnu*) fmt=elf em=linux ;; s390-*-linux-gnu*) fmt=elf em=linux ;; - sh*eb-*-linux*) fmt=elf em=linux endian=big ;; - sh*-*-linux*) fmt=elf em=linux endian=little ;; + sh*-*-linux*) fmt=elf em=linux + case ${cpu} in + sh*eb) + endian=big ;; + sh*) + endian=little ;; + esac ;; sh-*-elf*) fmt=elf ;; sh-*-coff*) fmt=coff bfd_gas=yes;; sh-*-pe*) fmt=coff em=pe bfd_gas=yes endian=little ;; |