diff options
author | Tom Hughes <tomhughes@chromium.org> | 2023-04-03 16:38:01 -0700 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-04-06 01:05:22 +0000 |
commit | 97a478d4c025f1cd6937305dff914315da0045f0 (patch) | |
tree | 513f6007382c76ae7cc42eb7212336956df0a19b | |
parent | d350e34b1f4ecdfd57b55995fe41aceb46664d6b (diff) | |
download | chrome-ec-97a478d4c025f1cd6937305dff914315da0045f0.tar.gz |
core: Remove "end" symbol
https://crrev.com/c/4390608 introduced our own sbrk implementation,
which uses the equivalent __shared_mem_buf symbol, so "end" is no longer
needed.
BRANCH=none
BUG=b:234181908
TEST=./util/compare_build.sh -b all => MATCH
Change-Id: Ic763378785e48b01eeedbb23b3a1f6b68339c357
Signed-off-by: Tom Hughes <tomhughes@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4396775
Reviewed-by: Peter Marheine <pmarheine@chromium.org>
-rw-r--r-- | core/cortex-m/ec.lds.S | 6 | ||||
-rw-r--r-- | core/cortex-m0/ec.lds.S | 6 | ||||
-rw-r--r-- | core/minute-ia/ec.lds.S | 6 | ||||
-rw-r--r-- | core/nds32/ec.lds.S | 6 | ||||
-rw-r--r-- | core/riscv-rv32i/ec.lds.S | 6 |
5 files changed, 0 insertions, 30 deletions
diff --git a/core/cortex-m/ec.lds.S b/core/cortex-m/ec.lds.S index b370d1acf0..d41a6ff86f 100644 --- a/core/cortex-m/ec.lds.S +++ b/core/cortex-m/ec.lds.S @@ -500,12 +500,6 @@ SECTIONS __data_end = .; /* - * _sbrk in newlib expects "end" symbol to point to start of - * free memory. - */ - end = .; - - /* * Shared memory buffer must be at the end of preallocated * RAM, so it can expand to use all the remaining RAM. */ diff --git a/core/cortex-m0/ec.lds.S b/core/cortex-m0/ec.lds.S index c59973ebff..3721fbcce2 100644 --- a/core/cortex-m0/ec.lds.S +++ b/core/cortex-m0/ec.lds.S @@ -301,12 +301,6 @@ SECTIONS __data_end = .; /* - * _sbrk in newlib expects "end" symbol to point to start of - * free memory. - */ - end = .; - - /* * Shared memory buffer must be at the end of preallocated * RAM, so it can expand to use all the remaining RAM. */ diff --git a/core/minute-ia/ec.lds.S b/core/minute-ia/ec.lds.S index 81668fecc7..e396b0e097 100644 --- a/core/minute-ia/ec.lds.S +++ b/core/minute-ia/ec.lds.S @@ -226,12 +226,6 @@ SECTIONS __bss_end = .; __bss_size_words = ABSOLUTE((__bss_end - __bss_start) / 4); - /* - * _sbrk in newlib expects "end" symbol to point to start of - * free memory. - */ - end = .; - /* * Shared memory buffer must be at the end of * preallocated RAM, so it can expand to use all the diff --git a/core/nds32/ec.lds.S b/core/nds32/ec.lds.S index b97af1a679..7d77afbc36 100644 --- a/core/nds32/ec.lds.S +++ b/core/nds32/ec.lds.S @@ -273,12 +273,6 @@ SECTIONS __bss_end = .; /* - * _sbrk in newlib expects "end" symbol to point to start of - * free memory. - */ - end = .; - - /* * Shared memory buffer must be at the end of preallocated RAM, * so it can expand to use all the remaining RAM. */ diff --git a/core/riscv-rv32i/ec.lds.S b/core/riscv-rv32i/ec.lds.S index 015ed12548..5617f9786f 100644 --- a/core/riscv-rv32i/ec.lds.S +++ b/core/riscv-rv32i/ec.lds.S @@ -344,12 +344,6 @@ SECTIONS __bss_end = .; /* - * _sbrk in newlib expects "end" symbol to point to start of - * free memory. - */ - end = .; - - /* * Shared memory buffer must be at the end of preallocated RAM, * so it can expand to use all the remaining RAM. */ |