From: wdenk Date: Wed, 4 May 2005 23:44:59 +0000 (+0000) Subject: Use linker ASSERT statement to prevent undetected overlapping of X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a710d4be80a110652b9cdad97ba8ccedc73b26d2;p=project%2Fbcm63xx%2Fu-boot.git Use linker ASSERT statement to prevent undetected overlapping of sections on PPChameleon board; other boards might use this, too. --- diff --git a/CHANGELOG b/CHANGELOG index 2d932851ff..28e19b99e1 100644 --- 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 diff --git a/board/dave/PPChameleonEVB/u-boot.lds b/board/dave/PPChameleonEVB/u-boot.lds index 2693838483..d6117674b1 100644 --- a/board/dave/PPChameleonEVB/u-boot.lds +++ b/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 : {