From 85abd4b7a65bf2da35b1444f59599000765c3b5e Mon Sep 17 00:00:00 2001 From: law Date: Wed, 5 Jan 2000 07:10:35 +0000 Subject: [PATCH] * configure.in (m68*-*-rtemscoff*): New target, formal name for old m68*-*-rtems*. (m68*-*-rtemself*): New target. (mips64orion-*-rtems*): Remove duplicate definition of tm_file. (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*. (sparc*-*-rtemself*): New target. (sparc*-*-rtems*): Now elf not a.out. * config/i386/rtems.h: Include config/rtems.h. * config/i386/rtemself.h: Include config/rtems.h. * config/i960/rtems.h: Include config/rtems.h. * config/m68k/rtems.h: Include config/rtems.h. * config/m68k/rtemself.h: Include config/rtems.h. * config/mips/rtems64.h: Include config/rtems.h. * config/pa/rtems.h: Include config/rtems.h. * config/rs6000/rtems.h: Include config/rtems.h. * config/sh/rtems.h: Include config/rtems.h. * config/sh/rtemself.h: Include config/rtems.h. * config/sparc/rtems.h: Include config/rtems.h. * config/sparc/rtemself.h: Include config/rtems.h git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31231 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 22 ++++++ gcc/config/i386/rtems.h | 5 +- gcc/config/i386/rtemself.h | 7 +- gcc/config/i960/rtems.h | 5 +- gcc/config/m68k/rtems.h | 5 +- gcc/config/m68k/rtemself.h | 5 +- gcc/config/mips/rtems64.h | 5 +- gcc/config/pa/rtems.h | 5 +- gcc/config/rs6000/rtems.h | 5 +- gcc/config/sh/rtems.h | 5 +- gcc/config/sh/rtemself.h | 5 +- gcc/config/sparc/rtems.h | 5 +- gcc/config/sparc/rtemself.h | 7 +- gcc/configure | 187 ++++++++++++++++++++++---------------------- gcc/configure.in | 11 ++- 15 files changed, 167 insertions(+), 117 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7ab5d706ea0..bcf3674a275 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,25 @@ +2000-01-04 Joel Sherrill (joel@OARcorp.com> + + * configure.in (m68*-*-rtemscoff*): New target, formal name for + old m68*-*-rtems*. + (m68*-*-rtemself*): New target. + (mips64orion-*-rtems*): Remove duplicate definition of tm_file. + (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*. + (sparc*-*-rtemself*): New target. + (sparc*-*-rtems*): Now elf not a.out. + * config/i386/rtems.h: Include config/rtems.h. + * config/i386/rtemself.h: Include config/rtems.h. + * config/i960/rtems.h: Include config/rtems.h. + * config/m68k/rtems.h: Include config/rtems.h. + * config/m68k/rtemself.h: Include config/rtems.h. + * config/mips/rtems64.h: Include config/rtems.h. + * config/pa/rtems.h: Include config/rtems.h. + * config/rs6000/rtems.h: Include config/rtems.h. + * config/sh/rtems.h: Include config/rtems.h. + * config/sh/rtemself.h: Include config/rtems.h. + * config/sparc/rtems.h: Include config/rtems.h. + * config/sparc/rtemself.h: Include config/rtems.h + Tue Jan 4 23:59:26 2000 Denis Chertykov * final.c (shorten_branches): Correctly compute length of diff --git a/gcc/config/i386/rtems.h b/gcc/config/i386/rtems.h index 55436b31ad7..07eaa71b88d 100644 --- a/gcc/config/i386/rtems.h +++ b/gcc/config/i386/rtems.h @@ -1,5 +1,5 @@ /* Definitions for rtems targeting an Intel i386 using coff. - Copyright (C) 1996, 1997 Free Software Foundation, Inc. + Copyright (C) 1996, 1997, 2000 Free Software Foundation, Inc. Contributed by Joel Sherrill (joel@OARcorp.com). This file is part of GNU CC. @@ -32,4 +32,7 @@ Boston, MA 02111-1307, USA. */ #define TARGET_MEM_FUNCTIONS #endif +/* Get machine-independent configuration parameters for RTEMS. */ +#include + /* end of i386/rtems.h */ diff --git a/gcc/config/i386/rtemself.h b/gcc/config/i386/rtemself.h index 3a870eab897..de8a5b73009 100644 --- a/gcc/config/i386/rtemself.h +++ b/gcc/config/i386/rtemself.h @@ -1,5 +1,5 @@ /* Definitions for Intel 386 running Linux-based GNU systems with ELF format. - Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc. + Copyright (C) 1994, 95-98, 2000 Free Software Foundation, Inc. Contributed by Eric Youngdale. Modified for stabs-in-ELF by H.J. Lu. @@ -168,4 +168,7 @@ Boston, MA 02111-1307, USA. */ #undef ENDFILE_SPEC #define ENDFILE_SPEC "crtend.o%s crtn.o%s" - +/* Get machine-independent configuration parameters for RTEMS. */ +#include + +/* end of i386/rtemself.h */ diff --git a/gcc/config/i960/rtems.h b/gcc/config/i960/rtems.h index 909fc73d532..7a7479a3057 100644 --- a/gcc/config/i960/rtems.h +++ b/gcc/config/i960/rtems.h @@ -1,5 +1,5 @@ /* Definitions for rtems targeting an Intel i960. - Copyright (C) 1996, 1997 Free Software Foundation, Inc. + Copyright (C) 1996, 1997, 2000 Free Software Foundation, Inc. Contributed by Joel Sherrill (joel@OARcorp.com). This file is part of GNU CC. @@ -31,3 +31,6 @@ Boston, MA 02111-1307, USA. */ #ifndef TARGET_MEM_FUNCTIONS #define TARGET_MEM_FUNCTIONS #endif + +/* Get machine-independent configuration parameters for RTEMS. */ +#include diff --git a/gcc/config/m68k/rtems.h b/gcc/config/m68k/rtems.h index 20e623e60fb..b8c976bd888 100644 --- a/gcc/config/m68k/rtems.h +++ b/gcc/config/m68k/rtems.h @@ -1,5 +1,5 @@ /* Definitions for rtems targeting a Motorola m68k using coff. - Copyright (C) 1996, 1997 Free Software Foundation, Inc. + Copyright (C) 1996, 1997, 2000 Free Software Foundation, Inc. Contributed by Joel Sherrill (joel@OARcorp.com). This file is part of GNU CC. @@ -31,3 +31,6 @@ Boston, MA 02111-1307, USA. */ #ifndef TARGET_MEM_FUNCTIONS #define TARGET_MEM_FUNCTIONS #endif + +/* Get machine-independent configuration parameters for RTEMS. */ +#include diff --git a/gcc/config/m68k/rtemself.h b/gcc/config/m68k/rtemself.h index ea1915320bf..9e71ea77cbc 100644 --- a/gcc/config/m68k/rtemself.h +++ b/gcc/config/m68k/rtemself.h @@ -1,5 +1,5 @@ /* Definitions for rtems targeting a Motorola m68k using elf. - Copyright (C) 1999, National Research Council of Canada. + Copyright (C) 1999, 2000, National Research Council of Canada. Contributed by Charles-Antoine Gauthier (charles.gauthier@nrc.ca). This file is part of GNU CC. @@ -64,4 +64,7 @@ Boston, MA 02111-1307, USA. */ /* Do I need this? */ #undef INVOKE__main +/* Get machine-independent configuration parameters for RTEMS. */ +#include +/* end of m68k/rtemself.h */ diff --git a/gcc/config/mips/rtems64.h b/gcc/config/mips/rtems64.h index cd799708638..5f8b1724d71 100644 --- a/gcc/config/mips/rtems64.h +++ b/gcc/config/mips/rtems64.h @@ -1,5 +1,5 @@ /* Definitions for rtems targeting a MIPS ORION using ecoff. - Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc. + Copyright (C) 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc. Contributed by Joel Sherrill (joel@OARcorp.com). This file is part of GNU CC. @@ -61,3 +61,6 @@ Boston, MA 02111-1307, USA. */ #undef ENDFILE_SPEC /* End of undefines to turn off .ctor/.dtor section support */ + +/* Get machine-independent configuration parameters for RTEMS. */ +#include diff --git a/gcc/config/pa/rtems.h b/gcc/config/pa/rtems.h index a0d5b7a9470..4f7a04bd2a6 100644 --- a/gcc/config/pa/rtems.h +++ b/gcc/config/pa/rtems.h @@ -1,5 +1,5 @@ /* Definitions of target machine for GNU compiler, for PRO. - Copyright (C) 1997 Free Software Foundation, Inc. + Copyright (C) 1997, 2000 Free Software Foundation, Inc. Contributed by Joel Sherrill (joel@OARcorp.com). This file is part of GNU CC. @@ -29,3 +29,6 @@ Boston, MA 02111-1307, USA. */ #ifndef TARGET_MEM_FUNCTIONS #define TARGET_MEM_FUNCTIONS #endif + +/* Get machine-independent configuration parameters for RTEMS. */ +#include diff --git a/gcc/config/rs6000/rtems.h b/gcc/config/rs6000/rtems.h index bf14072f0d3..1215c7283e3 100644 --- a/gcc/config/rs6000/rtems.h +++ b/gcc/config/rs6000/rtems.h @@ -1,5 +1,5 @@ /* Definitions for rtems targeting a PowerPC using elf. - Copyright (C) 1996, 1997 Free Software Foundation, Inc. + Copyright (C) 1996, 1997, 2000 Free Software Foundation, Inc. Contributed by Joel Sherrill (joel@OARcorp.com). This file is part of GNU CC. @@ -35,4 +35,5 @@ Boston, MA 02111-1307, USA. */ #undef STARTFILE_DEFAULT_SPEC #define STARTFILE_DEFAULT_SPEC "crt0.o%s" -/* end of rs6000/rtems.h */ +/* Get machine-independent configuration parameters for RTEMS. */ +#include diff --git a/gcc/config/sh/rtems.h b/gcc/config/sh/rtems.h index b58075e11fe..f990dd3f265 100644 --- a/gcc/config/sh/rtems.h +++ b/gcc/config/sh/rtems.h @@ -1,5 +1,5 @@ /* Definitions for rtems targeting a SH using COFF. - Copyright (C) 1997, 1998 Free Software Foundation, Inc. + Copyright (C) 1997, 1998, 2000 Free Software Foundation, Inc. Contributed by Joel Sherrill (joel@OARcorp.com). This file is part of GNU CC. @@ -32,4 +32,5 @@ Boston, MA 02111-1307, USA. */ #define TARGET_MEM_FUNCTIONS #endif -/* end of sh/rtems.h */ +/* Get machine-independent configuration parameters for RTEMS. */ +#include diff --git a/gcc/config/sh/rtemself.h b/gcc/config/sh/rtemself.h index fb1c8cac246..5c2d08ca810 100644 --- a/gcc/config/sh/rtemself.h +++ b/gcc/config/sh/rtemself.h @@ -1,5 +1,5 @@ /* Definitions for rtems targeting a SH using elf. - Copyright (C) 1997, 1998 Free Software Foundation, Inc. + Copyright (C) 1997, 1998, 2000 Free Software Foundation, Inc. Contributed by Joel Sherrill (joel@OARcorp.com). This file is part of GNU CC. @@ -31,3 +31,6 @@ Boston, MA 02111-1307, USA. */ #ifndef TARGET_MEM_FUNCTIONS #define TARGET_MEM_FUNCTIONS #endif + +/* Get machine-independent configuration parameters for RTEMS. */ +#include diff --git a/gcc/config/sparc/rtems.h b/gcc/config/sparc/rtems.h index 1ab0a4216fd..22adfae3831 100644 --- a/gcc/config/sparc/rtems.h +++ b/gcc/config/sparc/rtems.h @@ -1,5 +1,5 @@ /* Definitions for rtems targeting a SPARC using a.out. - Copyright (C) 1996, 1997 Free Software Foundation, Inc. + Copyright (C) 1996, 1997, 2000 Free Software Foundation, Inc. Contributed by Joel Sherrill (joel@OARcorp.com). This file is part of GNU CC. @@ -32,4 +32,5 @@ Boston, MA 02111-1307, USA. */ #define TARGET_MEM_FUNCTIONS #endif -/* end of sparc/rtems.h */ +/* Get machine-independent configuration parameters for RTEMS. */ +#include diff --git a/gcc/config/sparc/rtemself.h b/gcc/config/sparc/rtemself.h index dc08d04466c..d6f5ae9b134 100644 --- a/gcc/config/sparc/rtemself.h +++ b/gcc/config/sparc/rtemself.h @@ -1,5 +1,5 @@ /* Definitions for rtems targeting a SPARC using a.out. - Copyright (C) 1996, 1997 Free Software Foundation, Inc. + Copyright (C) 1996, 1997, 2000 Free Software Foundation, Inc. Contributed by Joel Sherrill (joel@OARcorp.com). This file is part of GNU CC. @@ -32,4 +32,7 @@ Boston, MA 02111-1307, USA. */ #define TARGET_MEM_FUNCTIONS #endif -/* end of sparc/rtems.h */ +/* Get machine-independent configuration parameters for RTEMS. */ +#include + +/* end of sparc/rtemself.h */ diff --git a/gcc/configure b/gcc/configure index 1c1e1788bdf..c08bf700b05 100755 --- a/gcc/configure +++ b/gcc/configure @@ -4960,13 +4960,13 @@ for machine in $build $host $target; do extra_headers=math-68881.h float_format=m68k ;; - m68k-*-rtemscoff*|m68k-*-rtems*) + m68k-*-rtemscoff*) tmake_file="m68k/t-m68kbare t-rtems" tm_file=m68k/rtems.h extra_headers=math-68881.h float_format=m68k ;; - m68k-*-rtemself*) + m68k-*-rtemself*|m68k-*-rtems*) tmake_file="m68k/t-m68kbare t-rtems m68k/t-crtstuff" tm_file=m68k/rtemself.h extra_headers=math-68881.h @@ -5487,7 +5487,6 @@ for machine in $build $host $target; do ;; mips64orion-*-rtems*) tm_file="mips/elforion.h mips/elf64.h mips/rtems64.h" - tm_file="mips/elforion.h mips/elf64.h mips/rtems64.h" tmake_file="mips/t-elf t-rtems" ;; mipstx39el-*-elf*) @@ -5937,6 +5936,9 @@ for machine in $build $host $target; do tmake_file=sparc/t-sunos41 xmake_file=x-lynx ;; + sparc-*-rtemsaout*) + tmake_file="sparc/t-sparcbare t-rtems" + tm_file=sparc/rtems.h sparc-*-rtems*|sparc-*-rtemself*) tm_file="sparc/rtemself.h" tmake_file="sparc/t-elf t-rtems" @@ -5944,9 +5946,6 @@ for machine in $build $host $target; do #float_format=i128 float_format=i64 ;; - sparc-*-rtemsaout*) - tmake_file="sparc/t-sparcbare t-rtems" - tm_file=sparc/rtems.h ;; sparcv9-*-solaris2*) if test x$gnu_ld = xyes @@ -6685,7 +6684,7 @@ fi echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6 -echo "configure:6689: checking for strerror in -lcposix" >&5 +echo "configure:6688: checking for strerror in -lcposix" >&5 ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -6693,7 +6692,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lcposix $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -6727,12 +6726,12 @@ fi echo $ac_n "checking for working const""... $ac_c" 1>&6 -echo "configure:6731: checking for working const" >&5 +echo "configure:6730: checking for working const" >&5 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:6784: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_c_const=yes else @@ -6802,21 +6801,21 @@ EOF fi echo $ac_n "checking for inline""... $ac_c" 1>&6 -echo "configure:6806: checking for inline" >&5 +echo "configure:6805: checking for inline" >&5 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_cv_c_inline=no for ac_kw in inline __inline__ __inline; do cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:6819: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_c_inline=$ac_kw; break else @@ -6842,12 +6841,12 @@ EOF esac echo $ac_n "checking for off_t""... $ac_c" 1>&6 -echo "configure:6846: checking for off_t" >&5 +echo "configure:6845: checking for off_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS @@ -6875,12 +6874,12 @@ EOF fi echo $ac_n "checking for size_t""... $ac_c" 1>&6 -echo "configure:6879: checking for size_t" >&5 +echo "configure:6878: checking for size_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS @@ -6910,19 +6909,19 @@ fi # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works # for constant arguments. Useless! echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 -echo "configure:6914: checking for working alloca.h" >&5 +echo "configure:6913: checking for working alloca.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < int main() { char *p = alloca(2 * sizeof(int)); ; return 0; } EOF -if { (eval echo configure:6926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ac_cv_header_alloca_h=yes else @@ -6943,12 +6942,12 @@ EOF fi echo $ac_n "checking for alloca""... $ac_c" 1>&6 -echo "configure:6947: checking for alloca" >&5 +echo "configure:6946: checking for alloca" >&5 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ac_cv_func_alloca_works=yes else @@ -7008,12 +7007,12 @@ EOF echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 -echo "configure:7012: checking whether alloca needs Cray hooks" >&5 +echo "configure:7011: checking whether alloca needs Cray hooks" >&5 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&6 if test $ac_cv_os_cray = yes; then for ac_func in _getb67 GETB67 getb67; do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:7042: checking for $ac_func" >&5 +echo "configure:7041: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:7069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -7093,7 +7092,7 @@ done fi echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 -echo "configure:7097: checking stack direction for C alloca" >&5 +echo "configure:7096: checking stack direction for C alloca" >&5 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -7101,7 +7100,7 @@ else ac_cv_c_stack_direction=0 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:7123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_c_stack_direction=1 else @@ -7147,17 +7146,17 @@ unistd.h sys/param.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:7151: checking for $ac_hdr" >&5 +echo "configure:7150: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:7161: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:7160: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -7187,12 +7186,12 @@ done strdup __argz_count __argz_stringify __argz_next do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:7191: checking for $ac_func" >&5 +echo "configure:7190: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:7218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -7244,12 +7243,12 @@ done for ac_func in stpcpy do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:7248: checking for $ac_func" >&5 +echo "configure:7247: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:7275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -7306,19 +7305,19 @@ EOF if test $ac_cv_header_locale_h = yes; then echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6 -echo "configure:7310: checking for LC_MESSAGES" >&5 +echo "configure:7309: checking for LC_MESSAGES" >&5 if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < int main() { return LC_MESSAGES ; return 0; } EOF -if { (eval echo configure:7322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:7321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* am_cv_val_LC_MESSAGES=yes else @@ -7339,7 +7338,7 @@ EOF fi fi echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6 -echo "configure:7343: checking whether NLS is requested" >&5 +echo "configure:7342: checking whether NLS is requested" >&5 # Check whether --enable-nls or --disable-nls was given. if test "${enable_nls+set}" = set; then enableval="$enable_nls" @@ -7359,7 +7358,7 @@ fi EOF echo $ac_n "checking whether included gettext is requested""... $ac_c" 1>&6 -echo "configure:7363: checking whether included gettext is requested" >&5 +echo "configure:7362: checking whether included gettext is requested" >&5 # Check whether --with-included-gettext or --without-included-gettext was given. if test "${with_included_gettext+set}" = set; then withval="$with_included_gettext" @@ -7378,17 +7377,17 @@ fi ac_safe=`echo "libintl.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for libintl.h""... $ac_c" 1>&6 -echo "configure:7382: checking for libintl.h" >&5 +echo "configure:7381: checking for libintl.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:7392: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:7391: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -7405,19 +7404,19 @@ fi if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then echo "$ac_t""yes" 1>&6 echo $ac_n "checking for gettext in libc""... $ac_c" 1>&6 -echo "configure:7409: checking for gettext in libc" >&5 +echo "configure:7408: checking for gettext in libc" >&5 if eval "test \"`echo '$''{'gt_cv_func_gettext_libc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < int main() { return (int) gettext ("") ; return 0; } EOF -if { (eval echo configure:7421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:7420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* gt_cv_func_gettext_libc=yes else @@ -7433,7 +7432,7 @@ echo "$ac_t""$gt_cv_func_gettext_libc" 1>&6 if test "$gt_cv_func_gettext_libc" != "yes"; then echo $ac_n "checking for bindtextdomain in -lintl""... $ac_c" 1>&6 -echo "configure:7437: checking for bindtextdomain in -lintl" >&5 +echo "configure:7436: checking for bindtextdomain in -lintl" >&5 ac_lib_var=`echo intl'_'bindtextdomain | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -7441,7 +7440,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lintl $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:7455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -7468,12 +7467,12 @@ fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 echo $ac_n "checking for gettext in libintl""... $ac_c" 1>&6 -echo "configure:7472: checking for gettext in libintl" >&5 +echo "configure:7471: checking for gettext in libintl" >&5 if eval "test \"`echo '$''{'gt_cv_func_gettext_libintl'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else echo $ac_n "checking for gettext in -lintl""... $ac_c" 1>&6 -echo "configure:7477: checking for gettext in -lintl" >&5 +echo "configure:7476: checking for gettext in -lintl" >&5 ac_lib_var=`echo intl'_'gettext | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -7481,7 +7480,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lintl $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:7495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -7531,7 +7530,7 @@ EOF # Extract the first word of "msgfmt", so it can be a program name with args. set dummy msgfmt; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:7535: checking for $ac_word" >&5 +echo "configure:7534: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -7565,12 +7564,12 @@ fi for ac_func in dcgettext do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:7569: checking for $ac_func" >&5 +echo "configure:7568: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:7596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -7620,7 +7619,7 @@ done # Extract the first word of "gmsgfmt", so it can be a program name with args. set dummy gmsgfmt; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:7624: checking for $ac_word" >&5 +echo "configure:7623: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -7656,7 +7655,7 @@ fi # Extract the first word of "xgettext", so it can be a program name with args. set dummy xgettext; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:7660: checking for $ac_word" >&5 +echo "configure:7659: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -7688,7 +7687,7 @@ else fi cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:7699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* CATOBJEXT=.gmo DATADIRNAME=share @@ -7719,7 +7718,7 @@ fi if test "$CATOBJEXT" = "NONE"; then echo $ac_n "checking whether catgets can be used""... $ac_c" 1>&6 -echo "configure:7723: checking whether catgets can be used" >&5 +echo "configure:7722: checking whether catgets can be used" >&5 # Check whether --with-catgets or --without-catgets was given. if test "${with_catgets+set}" = set; then withval="$with_catgets" @@ -7732,7 +7731,7 @@ fi if test "$nls_cv_use_catgets" = "yes"; then echo $ac_n "checking for main in -li""... $ac_c" 1>&6 -echo "configure:7736: checking for main in -li" >&5 +echo "configure:7735: checking for main in -li" >&5 ac_lib_var=`echo i'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -7740,14 +7739,14 @@ else ac_save_LIBS="$LIBS" LIBS="-li $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:7750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -7775,12 +7774,12 @@ else fi echo $ac_n "checking for catgets""... $ac_c" 1>&6 -echo "configure:7779: checking for catgets" >&5 +echo "configure:7778: checking for catgets" >&5 if eval "test \"`echo '$''{'ac_cv_func_catgets'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:7806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_catgets=yes" else @@ -7825,7 +7824,7 @@ EOF # Extract the first word of "gencat", so it can be a program name with args. set dummy gencat; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:7829: checking for $ac_word" >&5 +echo "configure:7828: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_GENCAT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -7861,7 +7860,7 @@ fi # Extract the first word of "gmsgfmt", so it can be a program name with args. set dummy gmsgfmt; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:7865: checking for $ac_word" >&5 +echo "configure:7864: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -7898,7 +7897,7 @@ fi # Extract the first word of "msgfmt", so it can be a program name with args. set dummy msgfmt; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:7902: checking for $ac_word" >&5 +echo "configure:7901: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -7933,7 +7932,7 @@ fi # Extract the first word of "xgettext", so it can be a program name with args. set dummy xgettext; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:7937: checking for $ac_word" >&5 +echo "configure:7936: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -7991,7 +7990,7 @@ fi # Extract the first word of "msgfmt", so it can be a program name with args. set dummy msgfmt; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:7995: checking for $ac_word" >&5 +echo "configure:7994: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -8025,7 +8024,7 @@ fi # Extract the first word of "gmsgfmt", so it can be a program name with args. set dummy gmsgfmt; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:8029: checking for $ac_word" >&5 +echo "configure:8028: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -8061,7 +8060,7 @@ fi # Extract the first word of "xgettext", so it can be a program name with args. set dummy xgettext; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:8065: checking for $ac_word" >&5 +echo "configure:8064: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -8154,7 +8153,7 @@ fi LINGUAS= else echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6 -echo "configure:8158: checking for catalogs to be installed" >&5 +echo "configure:8157: checking for catalogs to be installed" >&5 NEW_LINGUAS= for lang in ${LINGUAS=$ALL_LINGUAS}; do case "$ALL_LINGUAS" in @@ -8182,17 +8181,17 @@ echo "configure:8158: checking for catalogs to be installed" >&5 if test "$CATOBJEXT" = ".cat"; then ac_safe=`echo "linux/version.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for linux/version.h""... $ac_c" 1>&6 -echo "configure:8186: checking for linux/version.h" >&5 +echo "configure:8185: checking for linux/version.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:8196: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:8195: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -8267,7 +8266,7 @@ fi echo $ac_n "checking whether windows registry support is requested""... $ac_c" 1>&6 -echo "configure:8271: checking whether windows registry support is requested" >&5 +echo "configure:8270: checking whether windows registry support is requested" >&5 if test x$enable_win32_registry != xno; then cat >> confdefs.h <<\EOF #define ENABLE_WIN32_REGISTRY 1 @@ -8296,7 +8295,7 @@ esac if test x$enable_win32_registry != xno; then echo $ac_n "checking registry key on windows hosts""... $ac_c" 1>&6 -echo "configure:8300: checking registry key on windows hosts" >&5 +echo "configure:8299: checking registry key on windows hosts" >&5 cat >> confdefs.h <&6 -echo "configure:8476: checking assembler alignment features" >&5 +echo "configure:8475: checking assembler alignment features" >&5 gcc_cv_as= gcc_cv_as_alignment_features= gcc_cv_as_gas_srcdir=`echo $srcdir | sed -e 's,/gcc$,,'`/gas @@ -8593,7 +8592,7 @@ fi echo "$ac_t""$gcc_cv_as_alignment_features" 1>&6 echo $ac_n "checking assembler subsection support""... $ac_c" 1>&6 -echo "configure:8597: checking assembler subsection support" >&5 +echo "configure:8596: checking assembler subsection support" >&5 gcc_cv_as_subsections= if test x$gcc_cv_as != x; then # Check if we have .subsection @@ -8635,7 +8634,7 @@ echo "$ac_t""$gcc_cv_as_subsections" 1>&6 case "$target" in sparc*-*-*) echo $ac_n "checking assembler .register pseudo-op support""... $ac_c" 1>&6 -echo "configure:8639: checking assembler .register pseudo-op support" >&5 +echo "configure:8638: checking assembler .register pseudo-op support" >&5 if eval "test \"`echo '$''{'gcc_cv_as_register_pseudo_op'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -8665,7 +8664,7 @@ EOF case "$tm_file" in *64*) echo $ac_n "checking for 64 bit support in assembler ($gcc_cv_as)""... $ac_c" 1>&6 -echo "configure:8669: checking for 64 bit support in assembler ($gcc_cv_as)" >&5 +echo "configure:8668: checking for 64 bit support in assembler ($gcc_cv_as)" >&5 if eval "test \"`echo '$''{'gcc_cv_as_flags64'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -8710,7 +8709,7 @@ EOF if test "x$gcc_cv_as_flags64" != xno; then echo $ac_n "checking for assembler offsetable %lo() support""... $ac_c" 1>&6 -echo "configure:8714: checking for assembler offsetable %lo() support" >&5 +echo "configure:8713: checking for assembler offsetable %lo() support" >&5 if eval "test \"`echo '$''{'gcc_cv_as_offsetable_lo10'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -8749,7 +8748,7 @@ EOF i[34567]86-*-*) echo $ac_n "checking assembler instructions""... $ac_c" 1>&6 -echo "configure:8753: checking assembler instructions" >&5 +echo "configure:8752: checking assembler instructions" >&5 gcc_cv_as_instructions= if test x$gcc_cv_as != x; then set "filds fists" "filds mem; fists mem" diff --git a/gcc/configure.in b/gcc/configure.in index 8f3c39a4a86..1cb5bdb3316 100644 --- a/gcc/configure.in +++ b/gcc/configure.in @@ -2272,13 +2272,13 @@ changequote([,])dnl extra_headers=math-68881.h float_format=m68k ;; - m68k-*-rtemscoff*|m68k-*-rtems*) + m68k-*-rtemscoff*) tmake_file="m68k/t-m68kbare t-rtems" tm_file=m68k/rtems.h extra_headers=math-68881.h float_format=m68k ;; - m68k-*-rtemself*) + m68k-*-rtemself*|m68k-*-rtems*) tmake_file="m68k/t-m68kbare t-rtems m68k/t-crtstuff" tm_file=m68k/rtemself.h extra_headers=math-68881.h @@ -2811,7 +2811,6 @@ changequote([,])dnl ;; mips64orion-*-rtems*) tm_file="mips/elforion.h mips/elf64.h mips/rtems64.h" - tm_file="mips/elforion.h mips/elf64.h mips/rtems64.h" tmake_file="mips/t-elf t-rtems" ;; mipstx39el-*-elf*) @@ -3271,6 +3270,9 @@ changequote([,])dnl tmake_file=sparc/t-sunos41 xmake_file=x-lynx ;; + sparc-*-rtemsaout*) + tmake_file="sparc/t-sparcbare t-rtems" + tm_file=sparc/rtems.h sparc-*-rtems*|sparc-*-rtemself*) tm_file="sparc/rtemself.h" tmake_file="sparc/t-elf t-rtems" @@ -3278,9 +3280,6 @@ changequote([,])dnl #float_format=i128 float_format=i64 ;; - sparc-*-rtemsaout*) - tmake_file="sparc/t-sparcbare t-rtems" - tm_file=sparc/rtems.h ;; sparcv9-*-solaris2*) if test x$gnu_ld = xyes -- 2.11.0