From abd0287a38a0be10dd72732f830c3f4eba6663ac Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Wed, 24 Mar 2004 01:11:24 +0000 Subject: [PATCH] 2004-03-23 Eric Christopher * mips/configure.in: Add mipsisa64-*-* to target support. * mips/configure: Regenerate. * frv/crt0.S: Fix comment. --- libgloss/ChangeLog | 29 +++++++++++++++------------ libgloss/frv/crt0.S | 2 +- libgloss/mips/configure | 40 ++++++++++++++++++++++++++++---------- libgloss/mips/configure.in | 3 ++- 4 files changed, 50 insertions(+), 24 deletions(-) diff --git a/libgloss/ChangeLog b/libgloss/ChangeLog index 3ae10552f..18e2e8fac 100644 --- a/libgloss/ChangeLog +++ b/libgloss/ChangeLog @@ -1,3 +1,8 @@ +2004-03-23 Eric Christopher + + * mips/configure.in: Add mipsisa64-*-* to target support. + * mips/configure: Regenerate. + 2004-03-03 Stephane Carrez * m68hc11/sci-inout.S: Supports -mlong-calls. @@ -38,7 +43,7 @@ 2003-10-27 Bernardo Innocenti * m68k/asm.h: Add macros for -fPIC, -msep-data and - -mid-shared-library support. + -mid-shared-library support. * m68k/crt0.S: Use macros for -fPIC, -msep-data and -mid-shared-library support. * m68k/sim-crt0.S: Likewise. @@ -104,15 +109,15 @@ 2003-06-23 Kazuhiro Inaoka - * m32r/crt0.S (_start): Allow _stack to be placed anywhere + * m32r/crt0.S (_start): Allow _stack to be placed anywhere in memory. 2003-06-06 Stan Cox Jeff Johnston Anthony Green - * configure.in: Add iq2000 support. - * configure: Rebuilt. + * configure.in: Add iq2000 support. + * configure: Rebuilt. * iq2000/Makefile.in, iq2000/access.c, iq2000/_exit.c, iq2000/configure, iq2000/chmod.c, iq2000/chown.c, iq2000/close.c, iq2000/configure.in, iq2000/creat.c, iq2000/crt0.S, iq2000/crt1.c, @@ -148,14 +153,14 @@ 2003-04-23 Andrew Haley * xstormy16/sim_rom.ld: New. - * xstormy16/Makefile.in (SIM_SCRIPTS): Add sim_rom.ld. + * xstormy16/Makefile.in (SIM_SCRIPTS): Add sim_rom.ld. * xstormy16/crt0.s (_int_reset): Copy ROM data to RAM. * xstormy16/eva_app.ld (_rdata, _data): New. * xstormy16/sim_high.ld (_rdata, _data): New. 2003-04-17 Inaoka Kazuhiro - * m32r/Makefile.in: Add multilib support. + * m32r/Makefile.in: Add multilib support. * m32r/configure.in: Ditto. * m32r/configure: Regenerated. @@ -213,7 +218,7 @@ * pmon.S: Likewise. * cygmon.c (sysCall): Avoid multi-line string literals. -2002-11-12 Jeff Johnston +2002-11-12 Jeff Johnston * mips/Makefile.in: Add cygmon support. * mips/configure.in: Ditto. @@ -223,7 +228,7 @@ * mips/pmon.S: Minor formatting and copyright changes. * mips/crt0.S: Ditto. -2002-11-08 Jeff Johnston +2002-11-08 Jeff Johnston * arm/Makefile.in: Add support for new pid specs. * arm/coff-iq80310.specs: Change to allow future support. @@ -235,7 +240,7 @@ * arm/coff-pid.specs: New file. * arm/elf-pid.specs: New file. -2002-11-08 Jeff Johnston +2002-11-08 Jeff Johnston Catherine Moore * m32r/configure.in: Do not require gcc to be able to link an @@ -333,7 +338,7 @@ * mips/cfe_api.c: New file. * mips/cfe_api.h: New file. * mips/cfe_api_int.h: New file. - * mips/cfe_error.h: New file. + * mips/cfe_error.h: New file. * mips/cfe_prestart.S: New file. 2002-07-12 Chris Demetriou @@ -410,7 +415,7 @@ 2002-04-17 Joel Sherrill - * debug.h: Change mem_err to volatile to match definition in + * debug.h: Change mem_err to volatile to match definition in debug.c. 2002-04-17 Joel Sherrill @@ -557,7 +562,7 @@ * configure.in: Treat ddb-kseg0.ld like ddb.ld. * configure: Regenerate. - + 2001-09-15 Eric Christopher * mips/configure.in (LIB_AC_PROG_CC): Fix typo in mipsisa32 to diff --git a/libgloss/frv/crt0.S b/libgloss/frv/crt0.S index 1a906d8a5..af14b9181 100644 --- a/libgloss/frv/crt0.S +++ b/libgloss/frv/crt0.S @@ -105,7 +105,7 @@ _start: call EXT(__frv_fixptrs) #endif /* ! __FRV_FDPIC__ */ - /* fixup the .dtors list */ + /* fixup the user .rofixup list */ P(sethi) #gprelhi(EXT(__ROFIXUP_LIST__)), gr9 sethi #gprelhi(EXT(__ROFIXUP_END__)), gr10 P(setlo) #gprello(EXT(__ROFIXUP_LIST__)), gr9 diff --git a/libgloss/mips/configure b/libgloss/mips/configure index 4089d6383..c31380543 100755 --- a/libgloss/mips/configure +++ b/libgloss/mips/configure @@ -918,7 +918,8 @@ case "${target}" in bsp_list="libdve.a libidt.a libjmr3904.a" ;; mipsisa32-*-* | mipsisa32el-*-* | \ - mipsisa32r2-*-* | mipsisa32r2el-*-*) + mipsisa32r2-*-* | mipsisa32r2el-*-* | \ + mipsisa64-*-*) crt0="crt0_cfe.o crt0_cygmon.o crt0.o" pcrt0="pcrt0.o" part_specific_obj= @@ -1034,15 +1035,34 @@ trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 # Transform confdefs.h into DEFS. # Protect against shell expansion while executing Makefile rules. # Protect against Makefile macro expansion. -cat > conftest.defs <<\EOF -s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g -s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g -s%\[%\\&%g -s%\]%\\&%g -s%\$%$$%g -EOF -DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '` -rm -f conftest.defs +# +# If the first sed substitution is executed (which looks for macros that +# take arguments), then we branch to the quote section. Otherwise, +# look for a macro that doesn't take arguments. +cat >confdef2opt.sed <<\_ACEOF +t clear +: clear +s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g +t quote +s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g +t quote +d +: quote +s,[ `~#$^&*(){}\\|;'"<>?],\\&,g +s,\[,\\&,g +s,\],\\&,g +s,\$,$$,g +p +_ACEOF +# We use echo to avoid assuming a particular line-breaking character. +# The extra dot is to prevent the shell from consuming trailing +# line-breaks from the sub-command output. A line-break within +# single-quotes doesn't work because, if this script is created in a +# platform that uses two characters for line-breaks (e.g., DOS), tr +# would break. +ac_LF_and_DOT=`echo; echo .` +DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'` +rm -f confdef2opt.sed # Without the "./", some shells look in PATH for config.status. diff --git a/libgloss/mips/configure.in b/libgloss/mips/configure.in index b26734a38..cfc0d2493 100644 --- a/libgloss/mips/configure.in +++ b/libgloss/mips/configure.in @@ -93,7 +93,8 @@ case "${target}" in bsp_list="libdve.a libidt.a libjmr3904.a" ;; mipsisa32-*-* | mipsisa32el-*-* | \ - mipsisa32r2-*-* | mipsisa32r2el-*-*) + mipsisa32r2-*-* | mipsisa32r2el-*-* | \ + mipsisa64-*-*) crt0="crt0_cfe.o crt0_cygmon.o crt0.o" pcrt0="pcrt0.o" part_specific_obj=