From 93ca1662a221cdb8a2545b496433e665f85ef720 Mon Sep 17 00:00:00 2001 From: Niibe Yutaka Date: Thu, 7 Sep 2000 04:38:34 +0000 Subject: 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 --- gcc/configure.in | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'gcc/configure.in') 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 ;; -- cgit v1.1