public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [patch, applied] avr RTEMS config/avr/* cleanups.
@ 2012-10-26  1:40 Ralf Corsepius
  2012-10-26  6:00 ` Georg-Johann Lay
  0 siblings, 1 reply; 4+ messages in thread
From: Ralf Corsepius @ 2012-10-26  1:40 UTC (permalink / raw)
  To: gcc-patches

[-- Attachment #1: Type: text/plain, Size: 165 bytes --]

Hi,

I've applied the patch below to trunk and gcc-4.7-branch.

It contains 2 RTEMS specific cleanups which have been in use for 
avr-rtems for quite a while.

Ralf

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: avr-gcc.diff --]
[-- Type: text/x-patch; name="avr-gcc.diff", Size: 900 bytes --]

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.

Index: config/avr/rtems.h
===================================================================
--- config/avr/rtems.h	(revision 192827)
+++ config/avr/rtems.h	(working copy)
@@ -23,6 +23,5 @@
 #define TARGET_OS_CPP_BUILTINS()	\
 do {					\
   builtin_define ("__rtems__");		\
-  builtin_define ("__USE_INIT_FINI__");	\
   builtin_assert ("system=rtems");	\
 } while (0)
Index: config/avr/t-rtems
===================================================================
--- config/avr/t-rtems	(revision 192827)
+++ config/avr/t-rtems	(working copy)
@@ -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))

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-10-26  8:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-26  1:40 [patch, applied] avr RTEMS config/avr/* cleanups Ralf Corsepius
2012-10-26  6:00 ` Georg-Johann Lay
2012-10-26  6:15   ` Ralf Corsepius
2012-10-26  8:35     ` Ralf Corsepius

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).