diff options
author | Jason Thorpe <thorpej@wasabisystems.com> | 2002-02-03 20:53:44 +0000 |
---|---|---|
committer | Jason Thorpe <thorpej@gcc.gnu.org> | 2002-02-03 20:53:44 +0000 |
commit | 2fd95d71b42381aaf0d924dde3358f87dfd1824c (patch) | |
tree | 2a4f1086b4cdfc5da3098b905a006bcbdb776f20 /gcc/config.gcc | |
parent | ffe80457ad349901ab46f53b92f9e380f2475be6 (diff) | |
download | gcc-2fd95d71b42381aaf0d924dde3358f87dfd1824c.zip gcc-2fd95d71b42381aaf0d924dde3358f87dfd1824c.tar.gz gcc-2fd95d71b42381aaf0d924dde3358f87dfd1824c.tar.bz2 |
config.gcc: Set cpu_type to m68k for 68010, as well.
* config.gcc: Set cpu_type to m68k for 68010, as well.
(m68010-*-netbsdelf*): New...
(m68k*-*-netbsdelf*): ...targets.
* config/m68k/netbsd-elf.h: New file.
From-SVN: r49464
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r-- | gcc/config.gcc | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc index 23c6aa1..f043f79 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -243,7 +243,7 @@ ia64-*-*) hppa*-*-* | parisc*-*-*) cpu_type=pa ;; -m680[02]0-*-*) +m680[012]0-*-*) cpu_type=m68k extra_headers=math-68881.h ;; @@ -1932,6 +1932,18 @@ m68k-*-lynxos*) tmake_file=m68k/t-lynx float_format=m68k ;; +m68010-*-netbsdelf* | m68k*-*-netbsdelf*) + tm_file="${tm_file} dbxelf.h elfos.h netbsd.h netbsd-elf.h m68k/netbsd-elf.h" + case $machine in + m68010*) + target_cpu_default="0" + ;; + *) + target_cpu_default="MASK_68020|MASK_68881|MASK_BITFIELD" + ;; + esac + float_format=m68k + ;; m68k*-*-netbsd*) tm_file=m68k/netbsd.h tmake_file=t-netbsd |