rtems.h (TARGET_OS_CPP_BUILTINS): Remove __USE_INIT_FINI__.
authorRalf Corsepius <ralf.corsepius@rtems.org>
Fri, 26 Oct 2012 01:00:29 +0000 (03:00 +0200)
committerRalf Corsepius <corsepiu@gcc.gnu.org>
Fri, 26 Oct 2012 01:00:29 +0000 (03:00 +0200)
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

gcc/ChangeLog
gcc/config/avr/rtems.h
gcc/config/avr/t-rtems

index d6751b1b20c818f6e52b0cfdc1fac8f1b9522591..4cda585bbd6b4d8c324b6427929957347fb12789 100644 (file)
@@ -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.
index efd8afacefa744290b973a81fde844a29b2197db..4a9c1b4d67bb4ff577b3c36e942278d0c5e4c92f 100644 (file)
@@ -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)
index a3ef8bd805d8f931ae7b7c520dc884e717d5dfbd..db986166402f65bc09348dc8687972b510ba19c0 100644 (file)
@@ -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))