aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-11-05 05:45:12 +0100
committerRalf Corsepius <corsepiu@gcc.gnu.org>2011-11-05 05:45:12 +0100
commitd618bb2c8648303ada2841e9bdf48122c863223f (patch)
treee85f87909b0d289b2503aad91325c18aea473366 /libgcc
parente2df21bfc6c81b4bc410a42002c8427454ffa628 (diff)
downloadgcc-d618bb2c8648303ada2841e9bdf48122c863223f.zip
gcc-d618bb2c8648303ada2841e9bdf48122c863223f.tar.gz
gcc-d618bb2c8648303ada2841e9bdf48122c863223f.tar.bz2
config.host (avr-*-rtems*): Add config/avr/t-rtems.
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. From-SVN: r181003
Diffstat (limited to 'libgcc')
-rw-r--r--libgcc/ChangeLog6
-rw-r--r--libgcc/config.host2
-rw-r--r--libgcc/config/avr/t-rtems2
3 files changed, 9 insertions, 1 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index d3f091e..0a94c95 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -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__.
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))