freebsd-dev/sys/boot/ia64/efi/ldscript.ia64
Doug Rabson 88f5f7ac50 Try to get the self-relocator to work with IPLTLSB relocations. Doesn't
work right though - I can't figure out why.
2001-10-24 20:14:49 +00:00

78 lines
1.3 KiB
Plaintext

/* $FreeBSD$ */
OUTPUT_FORMAT("elf64-ia64-little", "elf64-ia64-little", "elf64-ia64-little")
OUTPUT_ARCH(ia64)
ENTRY(_start_plabel)
SECTIONS
{
/* Read-only sections, merged into text segment: */
. = 0;
ImageBase = .;
. += 4096;
.text :
{
*(.text)
*(.stub)
/* .gnu.warning sections are handled specially by elf32.em. */
*(.gnu.warning)
*(.gnu.linkonce.t*)
}
. = ALIGN(4096);
.hash : { *(.hash) }
. = ALIGN(4096);
.data :
{
*(.rodata)
*(.rodata1)
*(.set.*)
*(.ctors)
*(.data)
*(.data1)
*(.gnu.linkonce.d*)
*(.plabel)
*(.IA_64.unwind)
*(.IA_64.unwind_info)
*(.bss)
*(.dynbss)
*(COMMON)
}
. = ALIGN(4096);
__gp = .;
.sdata :
{
*(.got.plt)
*(.got)
*(.sdata)
*(.sbss)
*(.scommon)
}
. = ALIGN(4096);
.dynamic : { *(.dynamic) }
. = ALIGN(4096);
.rela :
{
*(.rela.text)
*(.rela.gnu.linkonce.t*)
*(.rela.set.*)
*(.rela.sdata)
*(.rela.data)
*(.rela.gnu.linkonce.d*)
*(.rela.got)
*(.rela.stab)
*(.rela.ctors)
*(.relaset_*)
*(.rela.IA_64.pltoff)
}
. = ALIGN(4096);
.reloc : { *(.reloc) }
. = ALIGN(4096);
.dynsym : { *(.dynsym) }
. = ALIGN(4096);
.dynstr : { *(.dynstr) }
.ignored :
{
*(.rela.plabel)
*(.rela.reloc)
}
}