Message ID | 4EB4BC22.80707@rtems.org |
---|---|
State | New |
Headers | show |
diff --git a/libgcc/config.host b/libgcc/config.host index 01e7123..1834179 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 0000000..43b57ee --- /dev/null +++ b/libgcc/config/avr/t-rtems @@ -0,0 +1,2 @@ +# RTEMS uses _exit from newlib +LIB1ASMFUNCS := $(filter-out _exit,$(LIB1ASMFUNCS))