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. BUG=None TEST=Built and booted on pit. After this fix, CBMEM being on doesn't cause pit to hang during boot. BRANCH=None 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>
This commit is contained in:
parent
f37746cf59
commit
72f6611562
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ SECTIONS
|
|||
|
||||
_ebss = .;
|
||||
|
||||
.car.data . (NOLOAD) : {
|
||||
.car.data . : {
|
||||
. = ALIGN(8);
|
||||
_car_data_start = .;
|
||||
*(.car.global_data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue