mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-20 15:24:25 +00:00
Add the two sections used for PLT entries to the text and sdata sections
respectively. This makes IPLTLSB relocations work properly (these are generated for weak symbols, particularly for _longjmp).
This commit is contained in:
parent
c2ff9625d0
commit
7d5af294dc
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=85475
|
@ -15,6 +15,7 @@ SECTIONS
|
|||
/* .gnu.warning sections are handled specially by elf32.em. */
|
||||
*(.gnu.warning)
|
||||
*(.gnu.linkonce.t*)
|
||||
*(.plt)
|
||||
}
|
||||
. = ALIGN(4096);
|
||||
.hash : { *(.hash) }
|
||||
|
@ -41,6 +42,7 @@ SECTIONS
|
|||
{
|
||||
*(.got.plt)
|
||||
*(.got)
|
||||
*(.IA_64.pltoff)
|
||||
*(.sdata)
|
||||
*(.sbss)
|
||||
*(.scommon)
|
||||
|
|
|
@ -15,6 +15,7 @@ SECTIONS
|
|||
/* .gnu.warning sections are handled specially by elf32.em. */
|
||||
*(.gnu.warning)
|
||||
*(.gnu.linkonce.t*)
|
||||
*(.plt)
|
||||
}
|
||||
. = ALIGN(4096);
|
||||
.hash : { *(.hash) }
|
||||
|
@ -41,6 +42,7 @@ SECTIONS
|
|||
{
|
||||
*(.got.plt)
|
||||
*(.got)
|
||||
*(.IA_64.pltoff)
|
||||
*(.sdata)
|
||||
*(.sbss)
|
||||
*(.scommon)
|
||||
|
|
Loading…
Reference in a new issue