1 /* $FreeBSD: releng/5.0/sys/conf/ldscript.ia64 107646 2002-12-05 18:35:44Z obrien $ */
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
12 .text :
13 {
14 *(.text.ivt)
15 . += 8192;
16 *(.text)
17 *(.stub)
18 /* .gnu.warning sections are handled specially by elf32.em. */
19 *(.gnu.warning)
20 *(.gnu.linkonce.t*)
21 } =0x47ff041f
22 .interp : { *(.interp) }
23 .hash : { *(.hash) }
24 .dynsym : { *(.dynsym) }
25 .dynstr : { *(.dynstr) }
26 .gnu.version : { *(.gnu.version) }
27 .gnu.version_d : { *(.gnu.version_d) }
28 .gnu.version_r : { *(.gnu.version_r) }
29 .rel.text :
30 { *(.rel.text) *(.rel.gnu.linkonce.t*) }
31 .rela.text :
32 { *(.rela.text) *(.rela.gnu.linkonce.t*) }
33 .rel.data :
34 { *(.rel.data) *(.rel.gnu.linkonce.d*) }
35 .rela.data :
36 { *(.rela.data) *(.rela.gnu.linkonce.d*) }
37 .rel.rodata :
38 { *(.rel.rodata) *(.rel.gnu.linkonce.r*) }
39 .rela.rodata :
40 { *(.rela.rodata) *(.rela.gnu.linkonce.r*) }
41 .rel.got : { *(.rel.got) }
42 .rela.got : { *(.rela.got) }
43 .rel.ctors : { *(.rel.ctors) }
44 .rela.ctors : { *(.rela.ctors) }
45 .rel.dtors : { *(.rel.dtors) }
46 .rela.dtors : { *(.rela.dtors) }
47 .rel.init : { *(.rel.init) }
48 .rela.init : { *(.rela.init) }
49 .rel.fini : { *(.rel.fini) }
50 .rela.fini : { *(.rela.fini) }
51 .rel.bss : { *(.rel.bss) }
52 .rela.bss : { *(.rela.bss) }
53 .rel.plt : { *(.rel.plt) }
54 .rela.plt : { *(.rela.plt) }
55 .init : { *(.init) } =0x47ff041f
56 _etext = .;
57 PROVIDE (etext = .);
58 .fini : { *(.fini) } =0x47ff041f
59 .rodata : { *(.rodata) *(.gnu.linkonce.r*) }
60 .rodata1 : { *(.rodata1) }
61 .reginfo : { *(.reginfo) }
62 .IA_64.unwind_info : { *(.IA_64.unwind_info*) }
63 .IA_64.unwind : { *(.IA_64.unwind*) }
64 /* Adjust the address for the data segment. We want to adjust up to
65 the same address within the page on the next page up. */
66 . = .;
67 .data :
68 {
69 *(.data)
70 *(.gnu.linkonce.d*)
71 CONSTRUCTORS
72 }
73 .data1 : { *(.data1) }
74 .ctors :
75 {
76 *(.ctors)
77 }
78 .dtors :
79 {
80 *(.dtors)
81 }
82 .plt : { *(.plt) }
83 /* gp points at .got+(1<<21) */
84 __gp = ALIGN(8) + 0x200000;
85 .got : { *(.got.plt) *(.got) }
86 .dynamic : { *(.dynamic) }
87 /* We want the small data sections together, so single-instruction offsets
88 can access them all, and initialized data all before uninitialized, so
89 we can shorten the on-disk segment size. */
90 .sdata : { *(.sdata) }
91 _edata = .;
92 PROVIDE (edata = .);
93 __bss_start = .;
94 .sbss : { *(.sbss) *(.scommon) }
95 .bss :
96 {
97 *(.dynbss)
98 *(.bss)
99 *(COMMON)
100 }
101 . = ALIGN(64 / 8);
102 _end = . ;
103 PROVIDE (end = .);
104 /* Stabs debugging sections. */
105 .stab 0 : { *(.stab) }
106 .stabstr 0 : { *(.stabstr) }
107 .stab.excl 0 : { *(.stab.excl) }
108 .stab.exclstr 0 : { *(.stab.exclstr) }
109 .stab.index 0 : { *(.stab.index) }
110 .stab.indexstr 0 : { *(.stab.indexstr) }
111 .comment 0 : { *(.comment) }
112 /* DWARF debug sections.
113 Symbols in the DWARF debugging sections are relative to the beginning
114 of the section so we begin them at 0. */
115 /* DWARF 1 */
116 .debug 0 : { *(.debug) }
117 .line 0 : { *(.line) }
118 /* GNU DWARF 1 extensions */
119 .debug_srcinfo 0 : { *(.debug_srcinfo) }
120 .debug_sfnames 0 : { *(.debug_sfnames) }
121 /* DWARF 1.1 and DWARF 2 */
122 .debug_aranges 0 : { *(.debug_aranges) }
123 .debug_pubnames 0 : { *(.debug_pubnames) }
124 /* DWARF 2 */
125 .debug_info 0 : { *(.debug_info) }
126 .debug_abbrev 0 : { *(.debug_abbrev) }
127 .debug_line 0 : { *(.debug_line) }
128 .debug_frame 0 : { *(.debug_frame) }
129 .debug_str 0 : { *(.debug_str) }
130 .debug_loc 0 : { *(.debug_loc) }
131 .debug_macinfo 0 : { *(.debug_macinfo) }
132 /* SGI/MIPS DWARF 2 extensions */
133 .debug_weaknames 0 : { *(.debug_weaknames) }
134 .debug_funcnames 0 : { *(.debug_funcnames) }
135 .debug_typenames 0 : { *(.debug_typenames) }
136 .debug_varnames 0 : { *(.debug_varnames) }
137 /* These must appear regardless of . */
138 }
139
Cache object: ba019d5b8aff9e1f9e14667f57ec7c31
|