diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index d3f091e0918..0a94c951341 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,9 @@ +2011-11-05 Ralf Corsépius + + * config.host (avr-*-rtems*): Add config/avr/t-rtems. + * config/avr/t-rtems: New. + Filter out _exit from LIB1ASMFUNCS. + 2011-11-04 David S. Miller * configure.ac: Test for 64-bit addresses on !x86 using __LP64__. diff --git a/libgcc/config.host b/libgcc/config.host index 01e71237d1a..183417981f7 100644 --- a/libgcc/config.host +++ b/libgcc/config.host @@ -390,7 +390,7 @@ arm*-wince-pe*) tmake_file="$tmake_file arm/t-arm arm/t-wince-pe" ;; avr-*-rtems*) - tmake_file="$tmake_file avr/t-avr t-fpbit" + tmake_file="$tmake_file avr/t-avr avr/t-rtems t-fpbit" tm_file="$tm_file avr/avr-lib.h" # Don't use default. extra_parts= diff --git a/libgcc/config/avr/t-rtems b/libgcc/config/avr/t-rtems new file mode 100644 index 00000000000..43b57ee323d --- /dev/null +++ b/libgcc/config/avr/t-rtems @@ -0,0 +1,2 @@ +# RTEMS uses _exit from newlib +LIB1ASMFUNCS := $(filter-out _exit,$(LIB1ASMFUNCS))