mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04: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
2 changed files with 4 additions and 0 deletions
|
|
@ -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