diff options
author | Niibe Yutaka <gniibe@m17n.org> | 2000-09-07 04:38:34 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@gcc.gnu.org> | 2000-09-07 04:38:34 +0000 |
commit | 93ca1662a221cdb8a2545b496433e665f85ef720 (patch) | |
tree | fa27438a1c94ce52d7c3c3a81bffb4ee14c9a76b /gcc/configure.in | |
parent | 4979c2a9f3865740220144296e6921a076efb809 (diff) | |
download | gcc-93ca1662a221cdb8a2545b496433e665f85ef720.zip gcc-93ca1662a221cdb8a2545b496433e665f85ef720.tar.gz gcc-93ca1662a221cdb8a2545b496433e665f85ef720.tar.bz2 |
configure.in (sh-*-linux*): Added.
* configure.in (sh-*-linux*): Added.
* configure: Rebuilt.
* config/sh/t-linux: New file.
* config/sh/sh.h (USERMODE_BIT): Define.
(TARGET_USERMODE): Likewise.
(TARGET_SWITCHES): New switches for the bits above.
(INITIALIZE_TRAMPOLINE): Call __ic_invalidate in USERMODE.
* config/sh/linux.h: New file.
* config/sh/lib1funcs.asm (GLOBAL): Don't prefix symbols with
underscore on linux.
(L_sdivsi3, L_udivsi3): Define for linux.
(L_ic_invalidate): Define.
* invoke.texi (SH Options): Document -musermode.
From-SVN: r36227
Diffstat (limited to 'gcc/configure.in')
-rw-r--r-- | gcc/configure.in | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/configure.in b/gcc/configure.in index d0df4f9..165c295 100644 --- a/gcc/configure.in +++ b/gcc/configure.in @@ -3358,6 +3358,16 @@ changequote([,])dnl tm_file="sh/sh.h sh/rtems.h" float_format=sh ;; + sh-*-linux*) + tm_file="sh/sh.h sh/elf.h sh/linux.h" + tmake_file="sh/t-sh sh/t-elf sh/t-linux" + xmake_file=x-linux + gas=yes gnu_ld=yes + if test x$enable_threads = xyes; then + thread_file='posix' + fi + float_format=sh + ;; sh-*-*) float_format=sh ;; |