diff options
author | Youling Tang <tangyouling@loongson.cn> | 2020-11-19 04:45:40 +0300 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2020-11-27 22:05:59 +0300 |
commit | 344f2db2a18af45faafce13133c84c4f076876a6 (patch) | |
tree | 137ab245393dda4ee006b462524cf146492962fc /arch/arm64/kernel | |
parent | 49b3cf035edc5d7deb3ad1bf6805ce456ababc5b (diff) | |
download | linux-344f2db2a18af45faafce13133c84c4f076876a6.tar.xz |
arm64: vmlinux.lds.S: Drop redundant *.init.rodata.*
We currently try to emit *.init.rodata.* twice, once in INIT_DATA, and once
in the line immediately following it. As the two section definitions are
identical, the latter is redundant and can be dropped.
This patch drops the redundant *.init.rodata.* section definition.
Signed-off-by: Youling Tang <tangyouling@loongson.cn>
Acked-by: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/1605750340-910-1-git-send-email-tangyouling@loongson.cn
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/kernel')
-rw-r--r-- | arch/arm64/kernel/vmlinux.lds.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/kernel/vmlinux.lds.S b/arch/arm64/kernel/vmlinux.lds.S index 30c102978942..746afbc68df9 100644 --- a/arch/arm64/kernel/vmlinux.lds.S +++ b/arch/arm64/kernel/vmlinux.lds.S @@ -199,7 +199,7 @@ SECTIONS INIT_CALLS CON_INITCALL INIT_RAM_FS - *(.init.rodata.* .init.bss) /* from the EFI stub */ + *(.init.bss) /* from the EFI stub */ } .exit.data : { EXIT_DATA |