For sparc64 target, use sparc cpu files and add sparcv9 to extra_defs. No
authorKen Raeburn <raeburn@cygnus>
Thu, 16 Jun 1994 00:49:06 +0000 (00:49 +0000)
committerKen Raeburn <raeburn@cygnus>
Thu, 16 Jun 1994 00:49:06 +0000 (00:49 +0000)
longer treat sparc64-*-aout* specially.

gas/configure.in

index 5428394e0116f5225c0f53a49337a994b600528f..ee9ddc1d21d2bc53b594eb8e43dcb65c10ee52d7 100644 (file)
@@ -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