It wasn't used in one instance where the end of the rotext section is
aligned to 256 bytes.

Maybe this alignment isn't necessary?  I have to wonder about the alignment
of the .data.init and .text.init sections too, since they don't appear to
even exist.

Signed-off-by: Trent Piepho <[EMAIL PROTECTED]>
---
 cpu/mpc85xx/u-boot.lds |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cpu/mpc85xx/u-boot.lds b/cpu/mpc85xx/u-boot.lds
index f7aedc0..8af35da 100644
--- a/cpu/mpc85xx/u-boot.lds
+++ b/cpu/mpc85xx/u-boot.lds
@@ -92,7 +92,7 @@ SECTIONS
   .dtors     : { *(.dtors)   }
 
   /* Read-write section, merged into data segment: */
-  . = (. + 0x00FF) & 0xFFFFFF00;
+  . = ALIGN(0x100);
   _erotext = .;
   PROVIDE (erotext = .);
   .reloc   :
-- 
1.5.4.1

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to