aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2012-10-26 03:00:29 +0200
committerRalf Corsepius <corsepiu@gcc.gnu.org>2012-10-26 03:00:29 +0200
commitc5022db097f42d4bf1584c31735c8d69040325d2 (patch)
treefa595b8158020cc0841eec46a7e6c05f129f1c89 /gcc
parentc4ffeb65eb16f446f6556a5f0a276db2f2b81b0a (diff)
downloadgcc-c5022db097f42d4bf1584c31735c8d69040325d2.zip
gcc-c5022db097f42d4bf1584c31735c8d69040325d2.tar.gz
gcc-c5022db097f42d4bf1584c31735c8d69040325d2.tar.bz2
rtems.h (TARGET_OS_CPP_BUILTINS): Remove __USE_INIT_FINI__.
2012-10-26 Ralf Corsépius <ralf.corsepius@rtems.org> * config/avr/rtems.h (TARGET_OS_CPP_BUILTINS): Remove __USE_INIT_FINI__. * config/avr/t-rtems (LIB1ASMFUNCS): Filter out _exit. From-SVN: r192828
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/avr/rtems.h1
-rw-r--r--gcc/config/avr/t-rtems3
3 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d6751b1..4cda585 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2012-10-26 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * config/avr/rtems.h (TARGET_OS_CPP_BUILTINS): Remove
+ __USE_INIT_FINI__.
+ * config/avr/t-rtems (LIB1ASMFUNCS): Filter out _exit.
+
2012-10-25 David S. Miller <davem@davemloft.net>
* config/sparc/constraints.md ("U"): Delete.
diff --git a/gcc/config/avr/rtems.h b/gcc/config/avr/rtems.h
index efd8afa..4a9c1b4 100644
--- a/gcc/config/avr/rtems.h
+++ b/gcc/config/avr/rtems.h
@@ -23,6 +23,5 @@ along with GCC; see the file COPYING3. If not see
#define TARGET_OS_CPP_BUILTINS() \
do { \
builtin_define ("__rtems__"); \
- builtin_define ("__USE_INIT_FINI__"); \
builtin_assert ("system=rtems"); \
} while (0)
diff --git a/gcc/config/avr/t-rtems b/gcc/config/avr/t-rtems
index a3ef8bd..db98616 100644
--- a/gcc/config/avr/t-rtems
+++ b/gcc/config/avr/t-rtems
@@ -1,3 +1,4 @@
# Multilibs for avr RTEMS targets.
-# ATM, this is just a stub
+# RTEMS uses _exit from newlib
+LIB1ASMFUNCS := $(filter-out _exit,$(LIB1ASMFUNCS))