From c1471396a48d2620c9f51b3fdd85f0a71ced8635 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Tue, 6 Aug 2013 04:30:13 -0700 Subject: ARM: Remove (NOLOAD) from the .car section On ARM, if the .car section is marked as NOLOAD, there's nothing that sets it to zero. Some code in the cbmem console depends on a global variable being zero initially, and if that's not true bad things happen. Change-Id: Ic72a9fb0ee0c5a608190be6f24d0d7de7c34fc1f Signed-off-by: Gabe Black Reviewed-on: https://gerrit.chromium.org/gerrit/64769 Reviewed-by: Stefan Reinauer Commit-Queue: Gabe Black Tested-by: Gabe Black Reviewed-on: http://review.coreboot.org/4435 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/arch/armv7/romstage.ld | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arch/armv7/romstage.ld b/src/arch/armv7/romstage.ld index 11a91cf0af..459f71471c 100644 --- a/src/arch/armv7/romstage.ld +++ b/src/arch/armv7/romstage.ld @@ -74,7 +74,7 @@ SECTIONS _ebss = .; - .car.data . (NOLOAD) : { + .car.data . : { . = ALIGN(8); _car_data_start = .; *(.car.global_data); -- cgit v1.2.3