mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-08 10:31:43 +01:00
Separate the function symbol address from .plt to .got.plt section. The original plt entry has trampoline code with symbol address, there is a 32-bit padding bwtween jar instruction and symbol address. Extract the symbol address to .got.plt to reduce the module size. Signed-off-by: Zong Li <[email protected]> Signed-off-by: Palmer Dabbelt <[email protected]>
9 lines
198 B
Plaintext
9 lines
198 B
Plaintext
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/* Copyright (C) 2017 Andes Technology Corporation */
|
|
|
|
SECTIONS {
|
|
.plt (NOLOAD) : { BYTE(0) }
|
|
.got (NOLOAD) : { BYTE(0) }
|
|
.got.plt (NOLOAD) : { BYTE(0) }
|
|
}
|