mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-10 03:42:22 +08:00
* 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.
This commit is contained 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" ;;
|
||||
|
Reference in New Issue
Block a user