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:
Doug Rabson 2001-10-25 08:50:14 +00:00
parent c2ff9625d0
commit 7d5af294dc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=85475
2 changed files with 4 additions and 0 deletions

View file

@ -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)

View file

@ -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)