From a710d4be80a110652b9cdad97ba8ccedc73b26d2 Mon Sep 17 00:00:00 2001 From: wdenk Date: Wed, 4 May 2005 23:44:59 +0000 Subject: [PATCH] Use linker ASSERT statement to prevent undetected overlapping of sections on PPChameleon board; other boards might use this, too. --- CHANGELOG | 3 +++ board/dave/PPChameleonEVB/u-boot.lds | 1 + 2 files changed, 4 insertions(+) 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 : { -- 2.39.5