1 1.1.10.2 tron /* $FreeBSD$ */ 2 1.1.10.2 tron OUTPUT_FORMAT("elf64-ia64-little", "elf64-ia64-little", "elf64-ia64-little") 3 1.1.10.2 tron OUTPUT_ARCH(ia64) 4 1.1.10.2 tron ENTRY(start) 5 1.1.10.2 tron SEARCH_DIR(/usr/lib); 6 1.1.10.2 tron kernel_text = 0xe000000004000000; 7 1.1.10.2 tron SECTIONS 8 1.1.10.2 tron { 9 1.1.10.2 tron /* Read-only sections, merged into text segment: */ 10 1.1.10.2 tron . = kernel_text + SIZEOF_HEADERS; 11 1.1.10.2 tron .interp : { *(.interp) } 12 1.1.10.2 tron .hash : { *(.hash) } 13 1.1.10.2 tron .dynsym : { *(.dynsym) } 14 1.1.10.2 tron .dynstr : { *(.dynstr) } 15 1.1.10.2 tron .gnu.version : { *(.gnu.version) } 16 1.1.10.2 tron .gnu.version_d : { *(.gnu.version_d) } 17 1.1.10.2 tron .gnu.version_r : { *(.gnu.version_r) } 18 1.1.10.2 tron .rela.init : { *(.rela.init) } 19 1.1.10.2 tron .rela.text : { *(.rela.text .rela.text.* .rela.gnu.linkonce.t.*) } 20 1.1.10.2 tron .rela.fini : { *(.rela.fini) } 21 1.1.10.2 tron .rela.rodata : { *(.rela.rodata .rela.rodata.* .rela.gnu.linkonce.r.*) } 22 1.1.10.2 tron .rela.data : { *(.rela.data .rela.data.* .rela.gnu.linkonce.d.*) } 23 1.1.10.2 tron .rela.ctors : { *(.rela.ctors) } 24 1.1.10.2 tron .rela.dtors : { *(.rela.dtors) } 25 1.1.10.2 tron .rela.got : { *(.rela.got) } 26 1.1.10.2 tron .rela.sdata : { *(.rela.sdata .rela.sdata.* .rela.gnu.linkonce.s.*) } 27 1.1.10.2 tron .rela.sbss : { *(.rela.sbss .rela.sbss.* .rela.gnu.linkonce.sb.*) } 28 1.1.10.2 tron .rela.sdata2 : { *(.rela.sdata2 .rela.sdata2.* .rela.gnu.linkonce.s2.*) } 29 1.1.10.2 tron .rela.sbss2 : { *(.rela.sbss2 .rela.sbss2.* .rela.gnu.linkonce.sb2.*) } 30 1.1.10.2 tron .rela.bss : { *(.rela.bss .rela.bss.* .rela.gnu.linkonce.b.*) } 31 1.1.10.2 tron .rela.plt : { *(.rela.plt) } 32 1.1.10.2 tron .rela.IA_64.pltoff : { *(.rela.IA_64.pltoff) } 33 1.1.10.2 tron PROVIDE (btext = .); 34 1.1.10.2 tron .init : 35 1.1.10.2 tron { 36 1.1.10.2 tron *(.init) 37 1.1.10.2 tron } =0x00300000010070000002000001000400 38 1.1.10.2 tron .plt : { *(.plt) } 39 1.1.10.2 tron .text : 40 1.1.10.2 tron { 41 1.1.10.2 tron *(.text .stub .text.* .gnu.linkonce.t.*) 42 1.1.10.2 tron /* .gnu.warning sections are handled specially by elf32.em. */ 43 1.1.10.2 tron *(.gnu.warning) 44 1.1.10.2 tron } =0x00300000010070000002000001000400 45 1.1.10.2 tron .fini : 46 1.1.10.2 tron { 47 1.1.10.2 tron *(.fini) 48 1.1.10.2 tron } =0x00300000010070000002000001000400 49 1.1.10.2 tron _etext = .; 50 1.1.10.2 tron PROVIDE (etext = .); 51 1.1.10.2 tron .rodata : { *(.rodata .rodata.* .gnu.linkonce.r.*) } 52 1.1.10.2 tron .rodata1 : { *(.rodata1) } 53 1.1.10.2 tron .sdata2 : { *(.sdata2 .sdata2.* .gnu.linkonce.s2.*) } 54 1.1.10.2 tron .sbss2 : { *(.sbss2 .sbss2.* .gnu.linkonce.sb2.*) } 55 1.1.10.2 tron .opd : { *(.opd) } 56 1.1.10.2 tron .IA_64.unwind_info : { *(.IA_64.unwind_info* .gnu.linkonce.ia64unwi.*) } 57 1.1.10.2 tron .IA_64.unwind : { *(.IA_64.unwind* .gnu.linkonce.ia64unw.*) } 58 1.1.10.2 tron /* Adjust the address for the data segment. We want to adjust up to 59 1.1.10.2 tron the same address within the page on the next page up. */ 60 1.1.10.2 tron . = . + 8192; 61 1.1.10.2 tron .data : 62 1.1.10.2 tron { 63 1.1.10.2 tron *(.data.proc0 .data .data.* .gnu.linkonce.d.*) 64 1.1.10.2 tron SORT(CONSTRUCTORS) 65 1.1.10.2 tron } 66 1.1.10.2 tron .data1 : { *(.data1) } 67 1.1.10.2 tron .dynamic : { *(.dynamic) } 68 1.1.10.2 tron .ctors : 69 1.1.10.2 tron { 70 1.1.10.2 tron *(.ctors) 71 1.1.10.2 tron *(SORT(.ctors.*)) 72 1.1.10.2 tron } 73 1.1.10.2 tron .dtors : 74 1.1.10.2 tron { 75 1.1.10.2 tron *(.dtors) 76 1.1.10.2 tron *(SORT(.dtors.*)) 77 1.1.10.2 tron } 78 1.1.10.2 tron . = ALIGN(16); 79 1.1.10.2 tron __gp = . + 0x200000; 80 1.1.10.2 tron .got : { *(.got.plt) *(.got) } 81 1.1.10.2 tron .IA_64.pltoff : { *(.IA_64.pltoff) } 82 1.1.10.2 tron /* We want the small data sections together, so single-instruction offsets 83 1.1.10.2 tron can access them all, and initialized data all before uninitialized, so 84 1.1.10.2 tron we can shorten the on-disk segment size. */ 85 1.1.10.2 tron .sdata : 86 1.1.10.2 tron { 87 1.1.10.2 tron *(.sdata .sdata.* .gnu.linkonce.s.*) 88 1.1.10.2 tron } 89 1.1.10.2 tron _edata = .; 90 1.1.10.2 tron PROVIDE (edata = .); 91 1.1.10.2 tron __bss_start = .; 92 1.1.10.2 tron .sbss : 93 1.1.10.2 tron { 94 1.1.10.2 tron PROVIDE (__sbss_start = .); 95 1.1.10.2 tron PROVIDE (___sbss_start = .); 96 1.1.10.2 tron *(.dynsbss) 97 1.1.10.2 tron *(.sbss .sbss.* .gnu.linkonce.sb.*) 98 1.1.10.2 tron *(.scommon) 99 1.1.10.2 tron PROVIDE (__sbss_end = .); 100 1.1.10.2 tron PROVIDE (___sbss_end = .); 101 1.1.10.2 tron } 102 1.1.10.2 tron .bss : 103 1.1.10.2 tron { 104 1.1.10.2 tron *(.dynbss) 105 1.1.10.2 tron *(.bss .bss.* .gnu.linkonce.b.*) 106 1.1.10.2 tron *(COMMON) 107 1.1.10.2 tron /* Align here to ensure that the .bss section occupies space up to 108 1.1.10.2 tron _end. Align after .bss to ensure correct alignment even if the 109 1.1.10.2 tron .bss section disappears because there are no input sections. */ 110 1.1.10.2 tron . = ALIGN(64 / 8); 111 1.1.10.2 tron } 112 1.1.10.2 tron . = ALIGN(64 / 8); 113 1.1.10.2 tron _end = .; 114 1.1.10.2 tron PROVIDE (end = .); 115 1.1.10.2 tron /* Stabs debugging sections. */ 116 1.1.10.2 tron .stab 0 : { *(.stab) } 117 1.1.10.2 tron .stabstr 0 : { *(.stabstr) } 118 1.1.10.2 tron .stab.excl 0 : { *(.stab.excl) } 119 1.1.10.2 tron .stab.exclstr 0 : { *(.stab.exclstr) } 120 1.1.10.2 tron .stab.index 0 : { *(.stab.index) } 121 1.1.10.2 tron .stab.indexstr 0 : { *(.stab.indexstr) } 122 1.1.10.2 tron .comment 0 : { *(.comment) } 123 1.1.10.2 tron /* DWARF debug sections. 124 1.1.10.2 tron Symbols in the DWARF debugging sections are relative to the beginning 125 1.1.10.2 tron of the section so we begin them at 0. */ 126 1.1.10.2 tron /* DWARF 1 */ 127 1.1.10.2 tron .debug 0 : { *(.debug) } 128 1.1.10.2 tron .line 0 : { *(.line) } 129 1.1.10.2 tron /* GNU DWARF 1 extensions */ 130 1.1.10.2 tron .debug_srcinfo 0 : { *(.debug_srcinfo) } 131 1.1.10.2 tron .debug_sfnames 0 : { *(.debug_sfnames) } 132 1.1.10.2 tron /* DWARF 1.1 and DWARF 2 */ 133 1.1.10.2 tron .debug_aranges 0 : { *(.debug_aranges) } 134 1.1.10.2 tron .debug_pubnames 0 : { *(.debug_pubnames) } 135 1.1.10.2 tron /* DWARF 2 */ 136 1.1.10.2 tron .debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) } 137 1.1.10.2 tron .debug_abbrev 0 : { *(.debug_abbrev) } 138 1.1.10.2 tron .debug_line 0 : { *(.debug_line) } 139 1.1.10.2 tron .debug_frame 0 : { *(.debug_frame) } 140 1.1.10.2 tron .debug_str 0 : { *(.debug_str) } 141 1.1.10.2 tron .debug_loc 0 : { *(.debug_loc) } 142 1.1.10.2 tron .debug_macinfo 0 : { *(.debug_macinfo) } 143 1.1.10.2 tron /* SGI/MIPS DWARF 2 extensions */ 144 1.1.10.2 tron .debug_weaknames 0 : { *(.debug_weaknames) } 145 1.1.10.2 tron .debug_funcnames 0 : { *(.debug_funcnames) } 146 1.1.10.2 tron .debug_typenames 0 : { *(.debug_typenames) } 147 1.1.10.2 tron .debug_varnames 0 : { *(.debug_varnames) } 148 1.1.10.2 tron } 149