ld: Add OTHER_PLT_SECTIONS
authorH.J. Lu <hjl.tools@gmail.com>
Sun, 12 Nov 2017 15:25:26 +0000 (07:25 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Sun, 12 Nov 2017 15:25:36 +0000 (07:25 -0800)
commitce3ad333570333287842ed20f55220534ad4a025
treef47f1718ee158b129831517dd0ec3ddc1339b68b
parente3e53eed9c2f1ab82ae4a7683f474b4f6eb162c7
ld: Add OTHER_PLT_SECTIONS

OTHER_PLT_SECTIONS contains sections which should be placed right after
.plt section.

* emulparams/elf32_x86_64.sh (TINY_READONLY_SECTION): Renamed
to ...
(OTHER_PLT_SECTIONS): This.
* emulparams/elf_i386.sh: Likewise.
* emulparams/elf_iamcu.sh: Likewise.
* emulparams/elf_x86_64.sh: Likewise.
* scripttempl/elf.sc: Place ${OTHER_PLT_SECTIONS} just after
.plt.
ld/ChangeLog
ld/emulparams/elf32_x86_64.sh
ld/emulparams/elf_i386.sh
ld/emulparams/elf_iamcu.sh
ld/emulparams/elf_x86_64.sh
ld/scripttempl/elf.sc