summaryrefslogtreecommitdiffstats
path: root/sys/boot/efi
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2003-07-17 00:32:08 +0000
committermarcel <marcel@FreeBSD.org>2003-07-17 00:32:08 +0000
commit492a0ca73b840dc91897d4ed0fb0509937e0126b (patch)
treeeabd0b37068ffd2e2c4f1ff50094190c24270e54 /sys/boot/efi
parentd6aec2b6d60b4b7b11a4a51d8a87a963e942803c (diff)
downloadFreeBSD-src-492a0ca73b840dc91897d4ed0fb0509937e0126b.zip
FreeBSD-src-492a0ca73b840dc91897d4ed0fb0509937e0126b.tar.gz
Have the linker script look more like the default linker script
on ia64. This fixes the breakage caused by the gcc upgrade that resulted in a broken executable.
Diffstat (limited to 'sys/boot/efi')
-rw-r--r--sys/boot/efi/libefi/arch/ia64/ldscript.ia6485
1 files changed, 39 insertions, 46 deletions
diff --git a/sys/boot/efi/libefi/arch/ia64/ldscript.ia64 b/sys/boot/efi/libefi/arch/ia64/ldscript.ia64
index aa02808..002c263 100644
--- a/sys/boot/efi/libefi/arch/ia64/ldscript.ia64
+++ b/sys/boot/efi/libefi/arch/ia64/ldscript.ia64
@@ -7,74 +7,67 @@ SECTIONS
/* Read-only sections, merged into text segment: */
. = 0;
ImageBase = .;
- . += 4096;
- .text :
- {
- *(.text)
- *(.stub)
- /* .gnu.warning sections are handled specially by elf32.em. */
+ . = SIZEOF_HEADERS;
+ . = ALIGN(4096);
+ .text : {
+ *(.text .stub .text.* .gnu.linkonce.t.*)
+ /* .gnu.warning sections are handled specially by elf32.em. */
*(.gnu.warning)
- *(.gnu.linkonce.t*)
*(.plt)
- }
+ } =0x00300000010070000002000001000400
. = ALIGN(4096);
- .hash : { *(.hash) }
- . = ALIGN(4096);
- .data :
- {
- *(.rodata*)
+ .data : {
+ *(.rodata .rodata.* .gnu.linkonce.r.*)
+ *(.rodata1)
+ *(.sdata2 .sdata2.* .gnu.linkonce.s2.*)
+ *(.sbss2 .sbss2.* .gnu.linkonce.sb2.*)
+ *(.opd)
+ *(.IA_64.unwind_info* .gnu.linkonce.ia64unwi.*)
+ *(.IA_64.unwind* .gnu.linkonce.ia64unw.*)
__start_set_Xcommand_set = .;
*(set_Xcommand_set)
__stop_set_Xcommand_set = .;
- *(.ctors)
- *(.data)
+ *(.data .data.* .gnu.linkonce.d.*)
*(.data1)
- *(.gnu.linkonce.d*)
*(.plabel)
- *(.IA_64.unwind)
- *(.IA_64.unwind_info)
- *(.bss)
*(.dynbss)
+ *(.bss .bss.* .gnu.linkonce.b.*)
*(COMMON)
}
. = ALIGN(4096);
__gp = .;
- .sdata :
- {
- *(.got.plt)
- *(.got)
+ .sdata : {
+ *(.got.plt .got)
*(.IA_64.pltoff)
- *(.sdata)
- *(.sbss)
+ *(.sdata .sdata.* .gnu.linkonce.s.*)
+ *(dynsbss)
+ *(.sbss .sbss.* .gnu.linkonce.sb.*)
*(.scommon)
}
. = ALIGN(4096);
- .dynamic : { *(.dynamic) }
+ .dynamic : { *(.dynamic) }
. = ALIGN(4096);
- .rela :
- {
- *(.rela.text)
- *(.rela.gnu.linkonce.t*)
- *(.rela.set.*)
- *(.rela.sdata)
- *(.rela.data)
- *(.rela.gnu.linkonce.d*)
+ .rela : {
+ *(.rela.text .rela.text.* .rela.gnu.linkonce.t.*)
+ *(.rela.rodata .rela.rodata.* .rela.gnu.linkonce.r.*)
+ *(.rela.data .rela.data.* .rela.gnu.linkonce.d.*)
*(.rela.got)
- *(.rela.stab)
- *(.rela.ctors)
- *(.relaset_*)
+ *(.rela.sdata .rela.sdata.* .rela.gnu.linkonce.s.*)
+ *(.rela.sbss .rela.sbss.* .rela.gnu.linkonce.sb.*)
+ *(.rela.sdata2 .rela.sdata2.* .rela.gnu.linkonce.s2.*)
+ *(.rela.sbss2 .rela.sbss2.* .rela.gnu.linkonce.sb2.*)
+ *(.rela.bss .rela.bss.* .rela.gnu.linkonce.b.*)
+ *(.rela.plt)
*(.rela.IA_64.pltoff)
+ *(.relaset_*)
+ *(.rela.dyn .rela.dyn.*)
}
. = ALIGN(4096);
- .reloc : { *(.reloc) }
+ .reloc : { *(.reloc) }
. = ALIGN(4096);
- .dynsym : { *(.dynsym) }
+ .hash : { *(.hash) }
. = ALIGN(4096);
- .dynstr : { *(.dynstr) }
- .ignored :
- {
- *(.rela.plabel)
- *(.rela.reloc)
- }
+ .dynsym : { *(.dynsym) }
+ . = ALIGN(4096);
+ .dynstr : { *(.dynstr) }
}
-
OpenPOWER on IntegriCloud