Use linker ASSERT statement to prevent undetected overlapping of
authorwdenk <wdenk>
Wed, 4 May 2005 23:44:59 +0000 (23:44 +0000)
committerwdenk <wdenk>
Wed, 4 May 2005 23:44:59 +0000 (23:44 +0000)
sections on PPChameleon board; other boards might use this, too.

CHANGELOG
board/dave/PPChameleonEVB/u-boot.lds

index 2d93285..28e19b9 100644 (file)
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -2,6 +2,9 @@
 Changes for U-Boot 1.1.3:
 ======================================================================
 
+* Use linker ASSERT statement to prevent undetected overlapping of
+  sections on PPChameleon board; other boards might use this, too.
+
 * Patch by Stefan Roese, 03 May 2005:
   Update for P3G4
   Fix problems in cmd_universe.c
index 2693838..d611767 100644 (file)
@@ -140,6 +140,7 @@ SECTIONS
    *(COMMON)
   }
 
+  ppcenv_assert = ASSERT(. < 0xFFFF8000, ".bss section too big, overlaps .ppcenv section. Please update your confguration: CFG_MONITOR_BASE, CFG_MONITOR_LEN and TEXT_BASE may need to be modified.");
   . = 0xFFFF8000;
   .ppcenv :
   {