diff options
author | Kyoung Kim <kyoung.il.kim@intel.com> | 2018-11-12 17:46:12 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-11-16 05:02:23 -0800 |
commit | af01b2ff59077aac3a7107c6137820d83b7f690a (patch) | |
tree | 3c886677ea046b9f380d41cb70c3c08c25610b5a | |
parent | bd1fa0f4640a0808f2cf9f11c944a7272f4f44e9 (diff) | |
download | chrome-ec-af01b2ff59077aac3a7107c6137820d83b7f690a.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/1332810
Commit-Ready: Li1 Feng <li1.feng@intel.com>
Tested-by: Kyoung Il Kim <kyoung.il.kim@intel.com>
Reviewed-by: Caveh Jalali <caveh@google.com>
Reviewed-by: Kyoung Il Kim <kyoung.il.kim@intel.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 |