aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
authorMatthew Green <mrg@eterna.com.au>2002-02-19 17:43:25 +0000
committerJason Thorpe <thorpej@gcc.gnu.org>2002-02-19 17:43:25 +0000
commit4cb7482c3ae0a089a988a648c562e0c7f2ecbe98 (patch)
tree417f06459027ac8d063e2aebce789b0443281577 /gcc/config.gcc
parent2df3a718da195deeb988d15f540f522b9e4a54cb (diff)
downloadgcc-4cb7482c3ae0a089a988a648c562e0c7f2ecbe98.zip
gcc-4cb7482c3ae0a089a988a648c562e0c7f2ecbe98.tar.gz
gcc-4cb7482c3ae0a089a988a648c562e0c7f2ecbe98.tar.bz2
config.gcc (sparc-*-netbsdelf*): Enable target.
2002-02-19 matthew green <mrg@eterna.com.au> * config.gcc (sparc-*-netbsdelf*): Enable target. (sparc64-*-netbsd*): New target. * config/sparc/netbsd-elf.h: New file. * config/sparc/t-netbsd64: New file. From-SVN: r49870
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r--gcc/config.gcc8
1 files changed, 7 insertions, 1 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 8a125c4..a7a9922 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -2982,7 +2982,7 @@ sparc-*-aout*)
tm_file="sparc/sparc.h aoutos.h sparc/aout.h libgloss.h"
;;
sparc-*-netbsdelf*)
- echo "GCC does not yet support the ${machine} target"; exit 1
+ tm_file="${tm_file} elfos.h svr4.h sparc/sysv4.h netbsd.h netbsd-elf.h sparc/netbsd-elf.h"
;;
sparc-*-netbsd*)
tm_file="${tm_file} sparc/aout.h netbsd.h netbsd-aout.h sparc/netbsd.h"
@@ -3243,6 +3243,12 @@ sparc64-*-linux*) # 64-bit Sparc's running GNU/Linux
fi
float_format=sparc
;;
+sparc64-*-netbsd*)
+ tmake_file="${tmake_file} sparc/t-netbsd64"
+ tm_file="sparc/biarch64.h ${tm_file}"
+ tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h netbsd.h netbsd-elf.h sparc/netbsd-elf.h"
+ float_format=sparc
+ ;;
strongarm-*-elf*)
tm_file="arm/strongarm-elf.h dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h"
tmake_file=arm/t-strongarm-elf