瀏覽代碼

Use linker ASSERT statement to prevent undetected overlapping of
sections on PPChameleon board; other boards might use this, too.

wdenk 20 年之前
父節點
當前提交
a710d4be80
共有 2 個文件被更改,包括 4 次插入0 次删除
  1. 3 0
      CHANGELOG
  2. 1 0
      board/dave/PPChameleonEVB/u-boot.lds

+ 3 - 0
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

+ 1 - 0
board/dave/PPChameleonEVB/u-boot.lds

@@ -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 :
   {