arm64: vmlinux.lds.S: Drop redundant *.init.rodata.*
authorYouling Tang <tangyouling@loongson.cn>
Thu, 19 Nov 2020 01:45:40 +0000 (09:45 +0800)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 27 Nov 2020 19:05:59 +0000 (19:05 +0000)
commit344f2db2a18af45faafce13133c84c4f076876a6
tree137ab245393dda4ee006b462524cf146492962fc
parent49b3cf035edc5d7deb3ad1bf6805ce456ababc5b
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>
arch/arm64/kernel/vmlinux.lds.S