diff options
author | Michael Meissner <gnu@the-meissners.org> | 1995-05-09 21:17:19 +0000 |
---|---|---|
committer | Michael Meissner <gnu@the-meissners.org> | 1995-05-09 21:17:19 +0000 |
commit | 8370e93e49f0166d09e15906c6eb63f7843c0672 (patch) | |
tree | 1be213df87386538311dc18f4f7eb2c9f19a5c8d /gas/configure.in | |
parent | c7b44b0425dc1a4ee75abee5897de77a2b86648d (diff) | |
download | gdb-8370e93e49f0166d09e15906c6eb63f7843c0672.zip gdb-8370e93e49f0166d09e15906c6eb63f7843c0672.tar.gz gdb-8370e93e49f0166d09e15906c6eb63f7843c0672.tar.bz2 |
Add little endian PowerPC support.
Diffstat (limited to 'gas/configure.in')
-rw-r--r-- | gas/configure.in | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/gas/configure.in b/gas/configure.in index 088a04a..82ee491 100644 --- a/gas/configure.in +++ b/gas/configure.in @@ -41,7 +41,8 @@ changequote([,])dnl m8*) cpu_type=m88k ;; mips*el) cpu_type=mips endian=little;; mips*) cpu_type=mips endian=big ;; - powerpc*) cpu_type=ppc ;; + powerpcle*) cpu_type=ppc endian=little;; + powerpc*) cpu_type=ppc endian=big;; rs6000*) cpu_type=ppc ;; sparc64) cpu_type=sparc obj_format=elf AC_DEFINE(sparcv9) ;; @@ -161,10 +162,14 @@ case ${generic_target} in esac ;; ppc-*-aix*) obj_format=coff ;; - ppc-*-elf*) obj_format=elf ;; - ppc-*-eabi*) obj_format=elf ;; + ppc-*-elf* | ppc-*-eabi* | ppc-*-sysv4*) + obj_format=elf + case "$endian" in + big) gas_target=ppc-big ;; + *) gas_target=ppc-lit ;; + esac + ;; ppc-*-netware*) obj_format=elf emulation=ppcnw ;; - ppc-*-sysv4*) obj_format=elf ;; sh-*-coff) obj_format=coff ;; |