mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 23:47:06 +00:00
The PLT code uses a separate .init.plt section to allocate PLT entries for jump and call instructions in __init code. However, even for fairly sizable modules like mac80211.ko, we only end up with a couple of PLT entries in the .init section, and so we can simplify the code significantly by emitting all PLT entries into the same section. Tested-by: Jongsung Kim <[email protected]> Signed-off-by: Ard Biesheuvel <[email protected]>
4 lines
33 B
Plaintext
4 lines
33 B
Plaintext
SECTIONS {
|
|
.plt : { BYTE(0) }
|
|
}
|