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 <gabeblack@google.com> Reviewed-on: https://gerrit.chromium.org/gerrit/64769 Reviewed-by: Stefan Reinauer <reinauer@google.com> Commit-Queue: Gabe Black <gabeblack@chromium.org> Tested-by: Gabe Black <gabeblack@chromium.org> Reviewed-on: http://review.coreboot.org/4435 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
This commit is contained in:
parent
56a7cff7f6
commit
c1471396a4
|
@ -74,7 +74,7 @@ SECTIONS
|
|||
|
||||
_ebss = .;
|
||||
|
||||
.car.data . (NOLOAD) : {
|
||||
.car.data . : {
|
||||
. = ALIGN(8);
|
||||
_car_data_start = .;
|
||||
*(.car.global_data);
|
||||
|
|
Loading…
Reference in New Issue