diff options
author | dfr <dfr@FreeBSD.org> | 2001-10-25 08:50:14 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 2001-10-25 08:50:14 +0000 |
commit | 1455d39753bd869aa1aeafce97b26652b7b44fc6 (patch) | |
tree | 9661297e7381d047d47391520e754312ce896f9f /sys | |
parent | d78abeaffcc0c3d7df701a58c5506df888042958 (diff) | |
download | FreeBSD-src-1455d39753bd869aa1aeafce97b26652b7b44fc6.zip FreeBSD-src-1455d39753bd869aa1aeafce97b26652b7b44fc6.tar.gz |
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).
Diffstat (limited to 'sys')
-rw-r--r-- | sys/boot/efi/libefi/arch/ia64/ldscript.ia64 | 2 | ||||
-rw-r--r-- | sys/boot/ia64/efi/ldscript.ia64 | 2 |
2 files changed, 4 insertions, 0 deletions
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) |