FROMLIST: arm64: keep .altinstructions and .altinstr_replacement
authorSami Tolvanen <samitolvanen@google.com>
Tue, 10 Oct 2017 17:56:17 +0000 (10:56 -0700)
committerSami Tolvanen <samitolvanen@google.com>
Thu, 26 Apr 2018 23:03:35 +0000 (16:03 -0700)
commit3571151aaef3a5009360106d2bc9cb1ece04a12d
treea0839c3e81a314493f3b76999f8f335239c6da1b
parent2621d4912f40e250b845fe1977b1ee7f55cd162b
FROMLIST: arm64: keep .altinstructions and .altinstr_replacement

Make sure the linker doesn't remove .altinstructions or
.altinstr_replacement when CONFIG_LD_DEAD_CODE_DATA_ELIMINATION is
enabled.

Bug: 62093296
Bug: 67506682
Change-Id: I73f8a96679083909ec6865ee87519163ac7dcbe3
(am from https://patchwork.kernel.org/patch/10085799/)
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
arch/arm64/kernel/vmlinux.lds.S