From 71362ddf5da2c220f3300eb7721b5021a467d2ff Mon Sep 17 00:00:00 2001 From: Stephanos Ioannidis Date: Mon, 10 Feb 2020 16:47:04 +0900 Subject: [PATCH] arch: arm: aarch64: linker.ld: Remove redundant text section offset This commit removes the redundant text section offset specification in the AArch64 linker script. The text section offset is already specified by the `text_section_offset.ld`, which is included by `arch/common/CMakeLists.txt`. Signed-off-by: Stephanos Ioannidis --- include/arch/arm/aarch64/scripts/linker.ld | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/arch/arm/aarch64/scripts/linker.ld b/include/arch/arm/aarch64/scripts/linker.ld index d31d56be6de..c62ba5bdf17 100644 --- a/include/arch/arm/aarch64/scripts/linker.ld +++ b/include/arch/arm/aarch64/scripts/linker.ld @@ -117,8 +117,6 @@ SECTIONS SECTION_PROLOGUE(_TEXT_SECTION_NAME,,) { - . = CONFIG_TEXT_SECTION_OFFSET; - #if defined(CONFIG_SW_VECTOR_RELAY) KEEP(*(.vector_relay_table)) KEEP(*(".vector_relay_table.*"))