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 - assembler fussiness


At least the version 2.14.90 seems to suffer from macros without
parens...

-- 
Gary Thomas <gary@mlbassoc.com>
MLB Associates
Index: hal/powerpc/arch/current/ChangeLog
===================================================================
RCS file: /misc/cvsfiles/ecos/packages/hal/powerpc/arch/current/ChangeLog,v
retrieving revision 1.56
diff -u -5 -p -r1.56 ChangeLog
--- hal/powerpc/arch/current/ChangeLog	5 Dec 2003 09:56:59 -0000	1.56
+++ hal/powerpc/arch/current/ChangeLog	8 Dec 2003 14:25:36 -0000
@@ -1,5 +1,10 @@
+2003-12-08  Gary Thomas  <gary@mlbassoc.com>
+
+	* src/vectors.S: Minor change which makes newer versions of assembler
+	happy (at least for binutils-2.14.90.0.6).
+
 2003-12-05  Andrew Lunn  <andrew.lunn@ascom.ch>
 
 	* include/hal_intr.h: hal_delay_us() is a C function.
 
 2003-10-28  Gary Thomas  <gary@mlbassoc.com>
Index: hal/powerpc/arch/current/src/vectors.S
===================================================================
RCS file: /misc/cvsfiles/ecos/packages/hal/powerpc/arch/current/src/vectors.S,v
retrieving revision 1.31
diff -u -5 -p -r1.31 vectors.S
--- hal/powerpc/arch/current/src/vectors.S	28 Oct 2003 08:47:51 -0000	1.31
+++ hal/powerpc/arch/current/src/vectors.S	8 Dec 2003 14:07:59 -0000
@@ -299,11 +299,11 @@ _start:
         .globl  _hal_hardware_init_done
 _hal_hardware_init_done:
 
 #if !defined(CYG_HAL_STARTUP_ROM) && defined(CYGSEM_HAL_POWERPC_COPY_VECTORS)
         lwi     r3,rom_vectors-4
-        lwi     r4,(CYGHWR_HAL_POWERPC_VECTOR_BASE - 4)
+        lwi     r4,((CYGHWR_HAL_POWERPC_VECTOR_BASE)-4)
         lwi     r5,rom_vectors_end-4
 0:      lwzu    r0,4(r3)
         stwu    r0,4(r4)
         cmplw   r3,r5
         bne     0b

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