diff options
author | Kyoung Kim <kyoung.il.kim@intel.com> | 2018-11-12 17:46:12 -0800 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2018-11-13 23:08:48 +0000 |
commit | e3dc67cc0ff301126314dc041f0a789df5162623 (patch) | |
tree | f7d4180514ea53b2aa44ab6a2216105772dd62e5 | |
parent | 45ebe56dadecd0fbec9b01f48cf31e164864c493 (diff) | |
download | chrome-ec-e3dc67cc0ff301126314dc041f0a789df5162623.tar.gz |
core/minute-ia: fixes toolchain incompatibilty
Default coreboot toolchain(gcc 8.1, linker) does not generate
__bss_size_words absolute value. ABSOLUTE() built-in function is
used to make both old(4.9) and new(8.1) toolchains compatible.
BUG=b:118355015
BRANCH=none
TEST=built code with both old(4.9) and new(8.1) and verified
__bss_size_words abolute value and tested if ISH system boots.
Change-Id: I07ca0b68b222a2754866abdacb0a5d8585d01566
Signed-off-by: Kyoung Kim <kyoung.il.kim@intel.com>
Reviewed-on: https://chromium-review.googlesource.com/c/1334530
Reviewed-by: Caveh Jalali <caveh@google.com>
Commit-Queue: Caveh Jalali <caveh@google.com>
Tested-by: Caveh Jalali <caveh@google.com>
-rw-r--r-- | core/minute-ia/ec.lds.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/minute-ia/ec.lds.S b/core/minute-ia/ec.lds.S index da438b8ac3..1267fa9ee2 100644 --- a/core/minute-ia/ec.lds.S +++ b/core/minute-ia/ec.lds.S @@ -168,7 +168,7 @@ SECTIONS __deferred_until_end = .; __bss_end = .; - __bss_size_words = (__bss_end - __bss_start) / 4; + __bss_size_words = ABSOLUTE((__bss_end - __bss_start) / 4); /* * Shared memory buffer must be at the end of |