From 1455d39753bd869aa1aeafce97b26652b7b44fc6 Mon Sep 17 00:00:00 2001 From: dfr Date: Thu, 25 Oct 2001 08:50:14 +0000 Subject: 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). --- sys/boot/efi/libefi/arch/ia64/ldscript.ia64 | 2 ++ sys/boot/ia64/efi/ldscript.ia64 | 2 ++ 2 files changed, 4 insertions(+) diff --git a/sys/boot/efi/libefi/arch/ia64/ldscript.ia64 b/sys/boot/efi/libefi/arch/ia64/ldscript.ia64 index b9e80d9..3d2e4e5 100644 --- a/sys/boot/efi/libefi/arch/ia64/ldscript.ia64 +++ b/sys/boot/efi/libefi/arch/ia64/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) diff --git a/sys/boot/ia64/efi/ldscript.ia64 b/sys/boot/ia64/efi/ldscript.ia64 index b9e80d9..3d2e4e5 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) -- cgit v1.1