This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PowerPC assembly fix


Newer versions of the GNU tools (in particular 3.4.3 that I'm
using here) complain when macros are redefined (before this 
was silently allowed).  Add some include file protection to
avoid this.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
Index: hal/powerpc/arch/current/ChangeLog
===================================================================
RCS file: /misc/cvsfiles/ecos/packages/hal/powerpc/arch/current/ChangeLog,v
retrieving revision 1.67
diff -u -5 -p -r1.67 ChangeLog
--- hal/powerpc/arch/current/ChangeLog	15 Mar 2005 13:22:47 -0000	1.67
+++ hal/powerpc/arch/current/ChangeLog	30 Jul 2005 00:35:31 -0000
@@ -1,5 +1,10 @@
+2005-07-29  Gary Thomas  <gary@mlbassoc.com>
+
+	* include/arch.inc: Add one-time-include protection since newer
+	versions of the GNU assembler complain about redefining macros.
+
 2005-03-14  Peter Korsgaard  <jacmetd@sunsite.dk>
 
 	* src/redboot_linux_exec.c (do_exec): Correctly set bi_size.
 
 2004-11-04  Peter Korsgaard  <jacmet@sunsite.dk>
Index: hal/powerpc/arch/current/include/arch.inc
===================================================================
RCS file: /misc/cvsfiles/ecos/packages/hal/powerpc/arch/current/include/arch.inc,v
retrieving revision 1.4
diff -u -5 -p -r1.4 arch.inc
--- hal/powerpc/arch/current/include/arch.inc	5 Aug 2002 12:49:46 -0000	1.4
+++ hal/powerpc/arch/current/include/arch.inc	30 Jul 2005 00:30:45 -0000
@@ -1,5 +1,7 @@
+#ifndef _CYGONCE_HAL_POWERPC_ARCH_INC_
+#define _CYGONCE_HAL_POWERPC_ARCH_INC_
 ##=============================================================================
 ##
 ##	arch.inc
 ##
 ##	PowerPC architecture assembler header file
@@ -223,5 +225,7 @@ name:   
         sync
 	.endm
 
 #------------------------------------------------------------------------------
 # end of arch.inc
+
+#endif // _CYGONCE_HAL_POWERPC_ARCH_INC_

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]