summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaveh Jalali <caveh@chromium.org>2018-10-23 23:01:50 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2018-10-25 00:51:34 +0000
commit58acaaead76865f909e341fec103e69a92742107 (patch)
treee7f75339257945a847b114ff5e065f752aeb4fd6
parent668c169e8ea99e7f33f27937d02f6dbe2cec2c21 (diff)
downloadchrome-ec-58acaaead76865f909e341fec103e69a92742107.tar.gz
core/minute-ia: update linker script for coreboot toolchain
when using the coreboot toolchain, only C-line commends are allowed in linker scripts, so just fix the syntax. BUG=b:118355015 BRANCH=none TEST=tested in combination of a bunch of other patches to get atlas_ish to build with the coreboot toolchain Change-Id: I75094909d92eefade6d1756a06094dd537c5ce09 Signed-off-by: Caveh Jalali <caveh@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/1298694 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.S12
1 files changed, 7 insertions, 5 deletions
diff --git a/core/minute-ia/ec.lds.S b/core/minute-ia/ec.lds.S
index e39342ece8..9da27de73b 100644
--- a/core/minute-ia/ec.lds.S
+++ b/core/minute-ia/ec.lds.S
@@ -155,10 +155,12 @@ SECTIONS
*(.bss*);
*(COMMON*);
- # Reserve space for deferred function firing times. Each time
- # is a uint64_t, each func is a 32-bit pointer, thus the scaling
- # factor of two. The 8 byte alignment of uint64_t is required
- # by the ABI.
+ /*
+ * Reserve space for deferred function firing times.
+ * Each time is a uint64_t, each func is a 32-bit
+ * pointer, thus the scaling factor of two. The 8
+ * byte alignment of uint64_t is required by the ABI.
+ */
. = ALIGN(8);
__deferred_until = .;
@@ -169,7 +171,7 @@ SECTIONS
__bss_size_words = (__bss_end - __bss_start) / 4;
}
- #TODO: Adjust __image_size to proper value for core minute-ia later
+ /* TODO: Adjust __image_size to proper value for core minute-ia later */
__image_size = . - CONFIG_ISH_BOOT_START;
def_irq_low = ABSOLUTE(default_int_handler) & 0xFFFF;