aboutsummaryrefslogtreecommitdiff
path: root/sys/boot/ia64
diff options
context:
space:
mode:
authorDoug Rabson <dfr@FreeBSD.org>2001-10-25 08:50:14 +0000
committerDoug Rabson <dfr@FreeBSD.org>2001-10-25 08:50:14 +0000
commit7d5af294dcd1f9792b685dd5e94585faaa0ad84d (patch)
tree9661297e7381d047d47391520e754312ce896f9f /sys/boot/ia64
parentc2ff9625d0b8fafa1fb717b7f3ba7e85c2b01346 (diff)
downloadsrc-7d5af294dcd1f9792b685dd5e94585faaa0ad84d.tar.gz
src-7d5af294dcd1f9792b685dd5e94585faaa0ad84d.zip
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).
Notes
Notes: svn path=/head/; revision=85475
Diffstat (limited to 'sys/boot/ia64')
-rw-r--r--sys/boot/ia64/efi/ldscript.ia642
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/boot/ia64/efi/ldscript.ia64 b/sys/boot/ia64/efi/ldscript.ia64
index b9e80d9c54f2..3d2e4e596636 100644
--- a/sys/boot/ia64/efi/ldscript.ia64
+++ b/sys/boot/ia64/efi/ldscript.ia64
@@ -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)