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