From ac52b80b6d86733f47e8166188389c8e0bc344fb Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Thu, 30 Oct 1997 22:52:41 +0000 Subject: [PATCH] configure.in (sparc-*-elf*): Use sparc/elf.h, sparc/t-elf. * configure.in (sparc-*-elf*): Use sparc/elf.h, sparc/t-elf. Set extra_parts. (sparc*-*-*): Recognize --with-cpu=v9. * sparc/elf.h: New file. * sparc/t-elf: New file. From-SVN: r16243 --- gcc/ChangeLog | 8 ++++++++ gcc/configure | 9 ++++++++- gcc/configure.in | 9 ++++++++- 3 files changed, 24 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4af977e8f9e..48db0d85bde 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +Thu Oct 30 14:40:10 1997 Doug Evans + + * configure.in (sparc-*-elf*): Use sparc/elf.h, sparc/t-elf. + Set extra_parts. + (sparc*-*-*): Recognize --with-cpu=v9. + * sparc/elf.h: New file. + * sparc/t-elf: New file. + Thu Oct 30 13:26:12 1997 Jeffrey A Law (law@cygnus.com) * mn10300.c (const_8bit_operand): New function. diff --git a/gcc/configure b/gcc/configure index 4d256006ee4..20bfbd0cacd 100755 --- a/gcc/configure +++ b/gcc/configure @@ -3835,6 +3835,13 @@ for machine in $build $host $target; do sparc-*-bsd*) tm_file=sparc/bsd.h ;; + sparc-*-elf*) + tm_file=sparc/elf.h + tmake_file=sparc/t-elf + extra_parts="crti.o crtn.o crtbegin.o crtend.o" + #float_format=i128 + float_format=i64 + ;; sparc-*-linux-gnuaout*) # Sparc's running Linux, a.out xm_file="sparc/xm-sparc.h sparc/xm-linux.h" tm_file=sparc/linux-aout.h @@ -4118,7 +4125,7 @@ for machine in $build $host $target; do .) target_cpu_default2=TARGET_CPU_"`echo $machine | sed 's/-.*$//'`" ;; - .supersparc | .ultrasparc | .v7 | .v8) + .supersparc | .ultrasparc | .v7 | .v8 | .v9) target_cpu_default2="TARGET_CPU_$with_cpu" ;; *) diff --git a/gcc/configure.in b/gcc/configure.in index 4cc80d2f4a8..e6dd351e7d7 100644 --- a/gcc/configure.in +++ b/gcc/configure.in @@ -2320,6 +2320,13 @@ for machine in $build $host $target; do sparc-*-bsd*) tm_file=sparc/bsd.h ;; + sparc-*-elf*) + tm_file=sparc/elf.h + tmake_file=sparc/t-elf + extra_parts="crti.o crtn.o crtbegin.o crtend.o" + #float_format=i128 + float_format=i64 + ;; sparc-*-linux-gnuaout*) # Sparc's running Linux, a.out xm_file="sparc/xm-sparc.h sparc/xm-linux.h" tm_file=sparc/linux-aout.h @@ -2603,7 +2610,7 @@ for machine in $build $host $target; do .) target_cpu_default2=TARGET_CPU_"`echo $machine | sed 's/-.*$//'`" ;; - .supersparc | .ultrasparc | .v7 | .v8) + .supersparc | .ultrasparc | .v7 | .v8 | .v9) target_cpu_default2="TARGET_CPU_$with_cpu" ;; *) -- 2.30.2