CVS: gcc/gcc-4.1.1/gcc/config/msp430 t-msp430, 1.2, 1.3
Christopher Cole <[email protected]> Fri, 16 Jun 2006 12:47:15 -0700
| Newsgroups | gmane.comp.hardware.texas-instruments.msp430.gcc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/mspgcc/gcc/gcc-4.1.1/gcc/config/msp430 In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv32037 Modified Files: t-msp430 Log Message: Workaround for _fpadd_parts compilation bug. Index: t-msp430 =================================================================== RCS file: /cvsroot/mspgcc/gcc/gcc-4.1.1/gcc/config/msp430/t-msp430,v retrieving revision 1.2 retrieving revision 1.3 diff -u -w -d -r1.2 -r1.3 --- t-msp430 15 Jun 2006 05:12:10 -0000 1.2 +++ t-msp430 16 Jun 2006 19:47:13 -0000 1.3 @@ -5,43 +5,47 @@ #CROSS_LIBGCC1 = libgcc1-asm.a LIB1ASMSRC = msp430/libgcc.S -LIB1ASMFUNCS = _cmpdi2 \ - _cmpsf2 \ +LIB1ASMFUNCS = \ + __epilogue_restorer \ + __epilogue_restorer_intr \ + __prologue_saver \ __stop_progExec__ \ - _mulqi3 \ + _cmpdi2 \ + _cmpsf2 \ + _ctors \ + _divdi3 \ + _divmodhi4 \ + _divmodqi4 \ + _divmodsi4 \ + _dtors \ + _moddi3 \ + _muldi3 \ _mulhi3 \ + _mulhisi3 \ + _mulqi3 \ + _mulqihi3 \ _mulsi3 \ _mulsi3hw \ - _umulqihi3 \ - _umulhisi3 \ - _mulqihi3 \ - _mulhisi3 \ - _udivmodqi4 \ - _divmodqi4 \ - _udivmodhi4 \ - _divmodhi4 \ - _udivmodsi4 \ - _divmodsi4 \ _reset_vector__ \ - __prologue_saver \ - __epilogue_restorer \ - __epilogue_restorer_intr \ - _udivmoddi3_parts \ _udivdi3 \ + _udivmoddi3_parts \ + _udivmodhi4 \ + _udivmodqi4 \ + _udivmodsi4 \ _umoddi3 \ - _divdi3 \ - _moddi3 \ - _muldi3 \ - _ctors \ - _dtors - + _umulhisi3 \ + _umulqihi3 # libgcc... LIBGCC1_TEST = # We do not have the DF type. # Most of the C functions in libgcc2 use almost all registers, -TARGET_LIBGCC2_CFLAGS = -DDF=SF -Dinhibit_libc -g +# +# Currently there is a bug somewhere in GCC's alias analysis +# or scheduling code that is breaking _fpadd_parts in fp-bit.c. +# Disabling function inlining is a workaround for this problem. +TARGET_LIBGCC2_CFLAGS = -DDF=SF -Dinhibit_libc -g -fno-inline fp-bit.c: $(srcdir)/config/fp-bit.c $(srcdir)/config/msp430/t-msp430 echo '#define FLOAT' > fp-bit.c