]> git.proxmox.com Git - qemu.git/blob - sparc64.ld
msi: Guard msi/msix_write_config with msi_present
[qemu.git] / sparc64.ld
1 OUTPUT_FORMAT("elf64-sparc", "elf64-sparc",
2 "elf64-sparc")
3 OUTPUT_ARCH(sparc:v9)
4 ENTRY(_start)
5 SECTIONS
6 {
7 /* Read-only sections, merged into text segment: */
8 . = 0x60000000 + SIZEOF_HEADERS;
9 .interp : { *(.interp) }
10 .hash : { *(.hash) }
11 .dynsym : { *(.dynsym) }
12 .dynstr : { *(.dynstr) }
13 .gnu.version : { *(.gnu.version) }
14 .gnu.version_d : { *(.gnu.version_d) }
15 .gnu.version_r : { *(.gnu.version_r) }
16 .rel.text :
17 { *(.rel.text) *(.rel.gnu.linkonce.t*) }
18 .rela.text :
19 { *(.rela.text) *(.rela.gnu.linkonce.t*) }
20 .rel.data :
21 { *(.rel.data) *(.rel.gnu.linkonce.d*) }
22 .rela.data :
23 { *(.rela.data) *(.rela.gnu.linkonce.d*) }
24 .rel.rodata :
25 { *(.rel.rodata) *(.rel.gnu.linkonce.r*) }
26 .rela.rodata :
27 { *(.rela.rodata) *(.rela.gnu.linkonce.r*) }
28 .rel.got : { *(.rel.got) }
29 .rela.got : { *(.rela.got) }
30 .rel.ctors : { *(.rel.ctors) }
31 .rela.ctors : { *(.rela.ctors) }
32 .rel.dtors : { *(.rel.dtors) }
33 .rela.dtors : { *(.rela.dtors) }
34 .rel.init : { *(.rel.init) }
35 .rela.init : { *(.rela.init) }
36 .rel.fini : { *(.rel.fini) }
37 .rela.fini : { *(.rela.fini) }
38 .rel.bss : { *(.rel.bss) }
39 .rela.bss : { *(.rela.bss) }
40 .rel.plt : { *(.rel.plt) }
41 .rela.plt : { *(.rela.plt) }
42 .init : { *(.init) } =0x47ff041f
43 .text :
44 {
45 *(.text)
46 /* .gnu.warning sections are handled specially by elf32.em. */
47 *(.gnu.warning)
48 *(.gnu.linkonce.t*)
49 } =0x47ff041f
50 _etext = .;
51 PROVIDE (etext = .);
52 .fini : { *(.fini) } =0x47ff041f
53 .rodata : { *(.rodata) *(.gnu.linkonce.r*) }
54 .rodata1 : { *(.rodata1) }
55 . = ALIGN(64 / 8);
56 PROVIDE (__preinit_array_start = .);
57 .preinit_array : { *(.preinit_array) }
58 PROVIDE (__preinit_array_end = .);
59 PROVIDE (__init_array_start = .);
60 .init_array : { *(.init_array) }
61 PROVIDE (__init_array_end = .);
62 PROVIDE (__fini_array_start = .);
63 .fini_array : { *(.fini_array) }
64 PROVIDE (__fini_array_end = .);
65 .reginfo : { *(.reginfo) }
66 /* Adjust the address for the data segment. We want to adjust up to
67 the same address within the page on the next page up. */
68 . = ALIGN(0x100000) + (. & (0x100000 - 1));
69 .data :
70 {
71 *(.gen_code)
72 *(.data)
73 *(.gnu.linkonce.d*)
74 CONSTRUCTORS
75 }
76 .data1 : { *(.data1) }
77 .ctors :
78 {
79 *(.ctors)
80 }
81 .dtors :
82 {
83 *(.dtors)
84 }
85 .plt : { *(.plt) }
86 .got : { *(.got.plt) *(.got) }
87 .dynamic : { *(.dynamic) }
88 /* We want the small data sections together, so single-instruction offsets
89 can access them all, and initialized data all before uninitialized, so
90 we can shorten the on-disk segment size. */
91 .sdata : { *(.sdata) }
92 _edata = .;
93 PROVIDE (edata = .);
94 __bss_start = .;
95 .sbss : { *(.sbss) *(.scommon) }
96 .bss :
97 {
98 *(.dynbss)
99 *(.bss)
100 *(COMMON)
101 }
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 }