mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-28 20:02:17 +00:00
![Zong Li](/assets/img/avatar_default.png)
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>
8 lines
198 B
Text
8 lines
198 B
Text
/* 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) }
|
|
}
|