From 9f25eed9c96cb37ee58fcb65aafb44f9c6183dde Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Fri, 8 Feb 2002 07:11:13 +0000 Subject: Contribute sh64-elf. 2001-03-13 Alexandre Oliva * configure.host (newlib_cflags) [sh*-*-*]: Enable long long support in printf. 2001-01-29 Alexandre Oliva * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before any labels. 2001-01-24 Alexandre Oliva * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2. 2000-12-16 Alexandre Oliva * libc/machine/sh/configure.in: Rework conditionals. * libc/machine/sh/Makefile.am: Likewise. * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt. 2000-12-01 Alexandre Oliva * configure.host: Match `sh*'. * libc/include/machine/setjmp.h: Define for SH5. * libc/machine/sh/configure.in: Detect SH5. * libc/machine/sh/configure: Rebuilt. * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5. * libc/machine/sh/Makefile.in: Rebuilt. * libc/machine/sh/asm.h: Adjust for SH5. * libc/machine/sh/setjmp.S: Implement in SHmedia. * libc/sys/sh/crt0.S: Likewise. * libc/sys/sh/trap.S: Likewise. --- newlib/libc/machine/sh/configure.in | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'newlib/libc/machine/sh/configure.in') diff --git a/newlib/libc/machine/sh/configure.in b/newlib/libc/machine/sh/configure.in index ffd27974d..7fb5afd0e 100644 --- a/newlib/libc/machine/sh/configure.in +++ b/newlib/libc/machine/sh/configure.in @@ -9,4 +9,11 @@ AC_CONFIG_AUX_DIR(../../../..) NEWLIB_CONFIGURE(../../..) +AC_EGREP_CPP([sh5], [ +#if __SH5__ + sh5 +#endif +], [have_sh64=yes], [have_sh64=no]) +AM_CONDITIONAL(SH64, [test $have_sh64 = yes]) + AC_OUTPUT(Makefile) -- cgit v1.2.3