[U-Boot] [PATCH] Align end of bss by 4 bytes,
Selvamuthukumar
selva.muthukumar at e-coninfotech.com
Mon Oct 6 17:42:58 CEST 2008
bss initialization loop increments 4 bytes at a time.
And the loop end is checked for an 'equal' condition.
Make the bss end address aligned by 4, so that the loop
will end as expected.
---
cpu/mpc83xx/u-boot.lds | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/cpu/mpc83xx/u-boot.lds b/cpu/mpc83xx/u-boot.lds
index 99ad675..0d26937 100644
--- a/cpu/mpc83xx/u-boot.lds
+++ b/cpu/mpc83xx/u-boot.lds
@@ -117,6 +117,7 @@ SECTIONS
*(.bss)
*(COMMON)
}
+ . = ALIGN(4);
_end = . ;
PROVIDE (end = .);
}
--
1.5.5
More information about the U-Boot
mailing list