mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 17:05:48 +07:00
b8bde0ef12
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 <zong@andestech.com> Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
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) }
|
|
}
|