OSDN Git Service

2011-11-05 Ralf Cors├ępius <ralf.corsepius@rtems.org>
authorcorsepiu <corsepiu@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 5 Nov 2011 04:45:12 +0000 (04:45 +0000)
committercorsepiu <corsepiu@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 5 Nov 2011 04:45:12 +0000 (04:45 +0000)
* config.host (avr-*-rtems*): Add config/avr/t-rtems.
* config/avr/t-rtems: New.
Filter out _exit from LIB1ASMFUNCS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181003 138bc75d-0d04-0410-961f-82ee72b054a4

libgcc/ChangeLog
libgcc/config.host
libgcc/config/avr/t-rtems [new file with mode: 0644]

index d3f091e..0a94c95 100644 (file)
@@ -1,3 +1,9 @@
+2011-11-05  Ralf Cors├ępius  <ralf.corsepius@rtems.org>
+
+       * 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  <davem@davemloft.net>
 
        * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
index 01e7123..1834179 100644 (file)
@@ -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 (file)
index 0000000..43b57ee
--- /dev/null
@@ -0,0 +1,2 @@
+# RTEMS uses _exit from newlib
+LIB1ASMFUNCS := $(filter-out _exit,$(LIB1ASMFUNCS))