arm64: fix LD_DEAD_CODE_DATA_ELIMINATION
authorSami Tolvanen <samitolvanen@google.com>
Tue, 13 Feb 2018 22:00:14 +0000 (14:00 -0800)
committerSami Tolvanen <samitolvanen@google.com>
Wed, 28 Feb 2018 23:09:57 +0000 (15:09 -0800)
commit0d6fbe4ecd484e913889c02c5ad7fd28b7ec6293
tree4c225f30ed32fb5ab1e0af78cec14ad8bc2d1e65
parent4d10cc8e3fd07f7ff77623a1551dad3ead787d26
arm64: fix LD_DEAD_CODE_DATA_ELIMINATION

Keep .entry.tramp.text to avoid the "Entry trampoline text too big"
error while linking.

Bug: 62093296
Bug: 67506682
Change-Id: Idab3216244bd2f8537bb2a5bb47e25e8588394da
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
arch/arm64/kernel/vmlinux.lds.S