aboutsummaryrefslogtreecommitdiff
path: root/gas/configure.in
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1994-06-16 00:49:06 +0000
committerKen Raeburn <raeburn@cygnus>1994-06-16 00:49:06 +0000
commit54eacbe683ddaa9c5ba6a3ab576d21344bf16802 (patch)
tree394c74604cf1efa013f545d74520c05ff65e0641 /gas/configure.in
parent9a0d0964d8bc3887bba03734de3dfdf833618db6 (diff)
downloadgdb-54eacbe683ddaa9c5ba6a3ab576d21344bf16802.zip
gdb-54eacbe683ddaa9c5ba6a3ab576d21344bf16802.tar.gz
gdb-54eacbe683ddaa9c5ba6a3ab576d21344bf16802.tar.bz2
For sparc64 target, use sparc cpu files and add sparcv9 to extra_defs. No
longer treat sparc64-*-aout* specially.
Diffstat (limited to 'gas/configure.in')
-rw-r--r--gas/configure.in5
1 files changed, 2 insertions, 3 deletions
diff --git a/gas/configure.in b/gas/configure.in
index 5428394..ee9ddc1 100644
--- a/gas/configure.in
+++ b/gas/configure.in
@@ -117,7 +117,7 @@ case ${target_cpu} in
mips*) cpu_type=mips ;;
powerpc*) cpu_type=ppc ;;
rs6000*) cpu_type=ppc ;;
- sparc64) cpu_type=sparc64 obj_format=elf ;; # v9
+ sparc64) cpu_type=sparc obj_format=elf extra_def=sparcv9 ;;
sparclite*) cpu_type=sparc ;;
*) cpu_type=${target_cpu} ;;
esac
@@ -229,7 +229,6 @@ case ${generic_target} in
sparc*-fujitsu-none) obj_format=aout bfd_gas=yes ;;
sparc*-*-elf | sparc*-*-solaris*)
obj_format=elf ;;
- sparc64-*-aout*) obj_format=aout bfd_gas=yes ;; # v9
vax-*-bsd* | vax-*-ultrix*)
obj_format=aout ;;
@@ -330,7 +329,7 @@ links="host.h targ-cpu.c targ-cpu.h targ-env.h obj-format.h obj-format.c atof-ta
# post-target:
case ${bfd_gas} in
- yes) extra_def="BFD_ASSEMBLER" need_bfd=yes ;;
+ yes) extra_def="$extra_def BFD_ASSEMBLER" need_bfd=yes ;;
esac
case ${need_bfd} in