Patchwork Committed: Fix PR target/47111

login
register
mail settings
Submitter Joern Rennecke
Date Dec. 31, 2010, 10:32 a.m.
Message ID <20101231053256.9jqke3phc40sggwo-nzlynne@webmail.spamcop.net>
Download mbox | patch
Permalink /patch/77058/
State New
Headers show

Comments

Joern Rennecke - Dec. 31, 2010, 10:32 a.m.
Tested building "all-gcc" on x86_64-pc-linux-gnu for targets:
arm-rtems avr-rtems bfin-rtems h8300-rtems i686-rtems lm32-rtems
m32c-rtems m32r-rtems m68k-rtems mips-rtems moxie-rtems
powerpc-rtems4.11 --enable-threads=yes sh-rtems sparc64-rtems sparc-rtems

Committed as obvious.
2010-12-31  Joern Rennecke  <amylaar@spamcop.net>

	PR target/47111
	* config/rtems.h (NO_IMPLICIT_EXTERN_C): Undef before defining.

Patch

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 168364)
+++ ChangeLog	(working copy)
@@ -1,3 +1,8 @@ 
+2010-12-31  Joern Rennecke  <amylaar@spamcop.net>
+
+	* PR target/47111
+	* config/rtems.h (NO_IMPLICIT_EXTERN_C): Undef before defining.
+
 2010-12-30  Mingjie Xing  <mingjie.xing@gmail.com>
 
 	* config/mips/mips.h (SHIFT_COUNT_TRUNCATED): Change
Index: config/rtems.h
===================================================================
--- config/rtems.h	(revision 168358)
+++ config/rtems.h	(working copy)
@@ -18,6 +18,7 @@  the Free Software Foundation; either ver
 <http://www.gnu.org/licenses/>.  */
 
 /* The system headers under RTEMS are C++-aware.  */
+#undef NO_IMPLICIT_EXTERN_C
 #define NO_IMPLICIT_EXTERN_C
 
 /*