mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
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>
This commit is contained in:
@@ -60,7 +60,7 @@ jiffies = jiffies_64;
|
||||
#define TRAMP_TEXT \
|
||||
. = ALIGN(PAGE_SIZE); \
|
||||
VMLINUX_SYMBOL(__entry_tramp_text_start) = .; \
|
||||
*(.entry.tramp.text) \
|
||||
KEEP(*(.entry.tramp.text)) \
|
||||
. = ALIGN(PAGE_SIZE); \
|
||||
VMLINUX_SYMBOL(__entry_tramp_text_end) = .;
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user