aboutsummaryrefslogtreecommitdiff
path: root/gas/configure.in
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>1996-01-22 17:53:34 +0000
committerDavid Edelsohn <dje.gcc@gmail.com>1996-01-22 17:53:34 +0000
commit6df07e7f7e7a5e01a9c17b439334f99f51723af6 (patch)
treee906b4fdebbb7f86115d0e9d34f859f766215326 /gas/configure.in
parentc9c7c1d777ea480de86aabec6c6490fd51d95785 (diff)
downloadgdb-6df07e7f7e7a5e01a9c17b439334f99f51723af6.zip
gdb-6df07e7f7e7a5e01a9c17b439334f99f51723af6.tar.gz
gdb-6df07e7f7e7a5e01a9c17b439334f99f51723af6.tar.bz2
* config/tc-sparc.h (TARGET_FORMAT): Use #ifdef SPARC_ARCH64 instead of
#ifdef sparcv9 when choosing value. (ENV64): Delete. (md_end): Define. (sparc_md_end): Declare. * config/tc-sparc.c (SPARC_V9): Renamed from sparcv9. (initial_architecture): New static local. (can_bump_v9_p): Likewise. (NO_V9): Delete all occurrences. (sparc_md_end): New function. (sparc_ip): New local v9_arg_p. Rework fp reg number test. Don't bump architecture to v9 unless can_bump_v9_p set. (md_parse_option): -A<arch> passed, set can_bump_v9_p accordingly. * configure.in (sparc64 target cpu): Don't set obj_format here. (SPARC_V9): Renamed from sparcv9. (sparc64-*-elf*): Define SPARC_ARCH64. * configure: Regenerated. * acconfig.h (SPARC_V9): Renamed from sparcv9. (SPARC_ARCH64): Add. * config/vmsconf.h: Update.
Diffstat (limited to 'gas/configure.in')
-rw-r--r--gas/configure.in14
1 files changed, 9 insertions, 5 deletions
diff --git a/gas/configure.in b/gas/configure.in
index 3972ffd..4eb2c55 100644
--- a/gas/configure.in
+++ b/gas/configure.in
@@ -53,8 +53,8 @@ changequote([,])dnl
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) ;;
+ sparc64) cpu_type=sparc
+ AC_DEFINE(SPARC_V9) ;;
sparclite*) cpu_type=sparc ;;
*) cpu_type=${target_cpu} ;;
esac
@@ -107,7 +107,7 @@ changequote([,])dnl
powerpcle*) cpu_type=ppc endian=little ;;
powerpc*) cpu_type=ppc endian=big ;;
rs6000*) cpu_type=ppc ;;
- sparc64) cpu_type=sparc obj_format=elf want_sparcv9=true ;;
+ sparc64) cpu_type=sparc want_sparc_v9=true ;;
sparclite*) cpu_type=sparc ;;
*) cpu_type=${cpu} ;;
esac
@@ -300,7 +300,7 @@ changequote([,])dnl
*-*-xray | *-*-hms) fmt=coff ;;
*-*-sim) fmt=coff ;;
*-*-elf | *-*-sysv4* | *-*-solaris*)
- AC_MSG_WARN(GAS support for ELF format is incomplete.)
+ AC_MSG_WARN(GAS support for ${generic_target} is incomplete.)
fmt=elf dev=yes ;;
*-*-vxworks) fmt=aout ;;
*-*-netware) fmt=elf ;;
@@ -322,7 +322,11 @@ changequote([,])dnl
# Other random stuff.
- test -n "$want_sparcv9" && AC_DEFINE(sparcv9)
+ test -n "$want_sparc_v9" && AC_DEFINE(SPARC_V9)
+
+ case ${cpu}-${vendor}-${os} in
+ sparc64-*-elf*) AC_DEFINE(SPARC_ARCH64) ;;
+ esac
case ${cpu_type} in
m68k) extra_objects="$extra_objects m68k-parse.o" ;;