Commit 344f2db2 authored by Youling Tang's avatar Youling Tang Committed by Catalin Marinas

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: default avatarYouling Tang <tangyouling@loongson.cn>
Acked-by: default avatarWill Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/1605750340-910-1-git-send-email-tangyouling@loongson.cnSigned-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
parent 49b3cf03
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment