diff options
author | Jason Thorpe <thorpej@wasabisystems.com> | 2002-06-04 05:02:44 +0000 |
---|---|---|
committer | Jason Thorpe <thorpej@gcc.gnu.org> | 2002-06-04 05:02:44 +0000 |
commit | b655555e3395efa3e077bed8da70967051213f23 (patch) | |
tree | dba477555760564dfc58c022fd821810cc866ee8 /gcc/config/sh/t-netbsd-sh5 | |
parent | 6d8fd7bbd7f1fa8a0b985e3cd0e2120143d4d557 (diff) | |
download | gcc-b655555e3395efa3e077bed8da70967051213f23.zip gcc-b655555e3395efa3e077bed8da70967051213f23.tar.gz gcc-b655555e3395efa3e077bed8da70967051213f23.tar.bz2 |
* config.gcc (sh5-*-netbsd*, sh5l*-*-netbsd*)
(sh64-*-netbsd*, sh64l*-*-netbsd*): New targets.
* config/sh/netbsd-elf.h (TARGET_VERSION_ENDIAN)
(TARGET_VERSION_CPU): Define according to the
default target.
(TARGET_VERSION): Use TARGET_VERSION_ENDIAN and
TARGET_VERSION_CPU.
(TARGET_OS_CPP_BUILTINS): Use NETBSD_OS_CPP_BUILTINS_LP64
if TARGET_SHMEDIA64.
(LINK_DEFAULT_CPU_EMUL): Define according to the
default target.
(SUBTARGET_LINK_EMUL_SUFFIX): Define.
(SUBTARGET_LINK_SPEC): Define.
(LINK_SPEC): Use SH_LINK_SPEC.
(ASM_SPEC): Remove.
(TARGET_DEFAULT): Use TARGET_CPU_DEFAULT.
(FUNCTION_PROFILER): Add cases for TARGET_SHMEDIA32
and TARGET_SHMEDIA64 which abort, for now.
* config/sh/t-netbsd-sh5: New file.
* config/sh/t-netbsd-sh5-32: New file.
* config/sh/t-netbsd-sh5-64: New file.
From-SVN: r54230
Diffstat (limited to 'gcc/config/sh/t-netbsd-sh5')
-rw-r--r-- | gcc/config/sh/t-netbsd-sh5 | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/gcc/config/sh/t-netbsd-sh5 b/gcc/config/sh/t-netbsd-sh5 new file mode 100644 index 0000000..3a2dd69 --- /dev/null +++ b/gcc/config/sh/t-netbsd-sh5 @@ -0,0 +1,18 @@ +TARGET_LIBGCC2_CFLAGS = -fpic + +LIB1ASMFUNCS = \ + _sdivsi3 _sdivsi3_i4 _udivsi3 _udivsi3_i4 _set_fpscr \ + _shcompact_call_trampoline _shcompact_return_trampoline \ + _shcompact_incoming_args _ic_invalidate _nested_trampoline \ + _push_pop_shmedia_regs + +LIB2FUNCS_EXTRA= + +EXTRA_MULTILIB_PARTS= + +# NetBSD's C library includes a fast software FP library that +# has support for setting/setting the rounding mode, exception +# mask, etc. Therefore, we don't want to include software FP +# in libgcc. +FPBIT = +DPBIT = |