]> git.ipfire.org Git - thirdparty/qemu.git/blame - sparc.ld
audio: Fix typo that broke QEMU_AUDIO_ADC_TRY_POLL
[thirdparty/qemu.git] / sparc.ld
CommitLineData
6380ab5e 1OUTPUT_FORMAT("elf32-sparc", "elf32-sparc",
f930d07e 2 "elf32-sparc")
6380ab5e 3OUTPUT_ARCH(sparc)
6380ab5e
FB
4ENTRY(_start)
5SECTIONS
6{
7 /* Read-only sections, merged into text segment: */
8 . = 0x60000000 + SIZEOF_HEADERS;
f930d07e
BS
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) }
6380ab5e
FB
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*) }
f930d07e
BS
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
6380ab5e
FB
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 .reginfo : { *(.reginfo) }
56 /* Adjust the address for the data segment. We want to adjust up to
57 the same address within the page on the next page up. */
58 . = ALIGN(0x100000) + (. & (0x100000 - 1));
59 .data :
60 {
61 *(.data)
62 *(.gnu.linkonce.d*)
63 CONSTRUCTORS
64 }
65 .data1 : { *(.data1) }
9957427e
BS
66 .tdata : { *(.tdata) }
67 .tbss : { *(.tbss) }
6380ab5e
FB
68 .ctors :
69 {
70 *(.ctors)
71 }
72 .dtors :
73 {
74 *(.dtors)
75 }
f930d07e 76 .plt : { *(.plt) }
6380ab5e
FB
77 .got : { *(.got.plt) *(.got) }
78 .dynamic : { *(.dynamic) }
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 : { *(.sdata) }
83 _edata = .;
84 PROVIDE (edata = .);
85 __bss_start = .;
86 .sbss : { *(.sbss) *(.scommon) }
87 .bss :
88 {
89 *(.dynbss)
90 *(.bss)
91 *(COMMON)
92 }
93 _end = . ;
94 PROVIDE (end = .);
95 /* Stabs debugging sections. */
96 .stab 0 : { *(.stab) }
97 .stabstr 0 : { *(.stabstr) }
98 .stab.excl 0 : { *(.stab.excl) }
99 .stab.exclstr 0 : { *(.stab.exclstr) }
100 .stab.index 0 : { *(.stab.index) }
101 .stab.indexstr 0 : { *(.stab.indexstr) }
102 .comment 0 : { *(.comment) }
103 /* DWARF debug sections.
104 Symbols in the DWARF debugging sections are relative to the beginning
105 of the section so we begin them at 0. */
106 /* DWARF 1 */
107 .debug 0 : { *(.debug) }
108 .line 0 : { *(.line) }
109 /* GNU DWARF 1 extensions */
110 .debug_srcinfo 0 : { *(.debug_srcinfo) }
111 .debug_sfnames 0 : { *(.debug_sfnames) }
112 /* DWARF 1.1 and DWARF 2 */
113 .debug_aranges 0 : { *(.debug_aranges) }
114 .debug_pubnames 0 : { *(.debug_pubnames) }
115 /* DWARF 2 */
116 .debug_info 0 : { *(.debug_info) }
117 .debug_abbrev 0 : { *(.debug_abbrev) }
118 .debug_line 0 : { *(.debug_line) }
119 .debug_frame 0 : { *(.debug_frame) }
120 .debug_str 0 : { *(.debug_str) }
121 .debug_loc 0 : { *(.debug_loc) }
122 .debug_macinfo 0 : { *(.debug_macinfo) }
123 /* SGI/MIPS DWARF 2 extensions */
124 .debug_weaknames 0 : { *(.debug_weaknames) }
125 .debug_funcnames 0 : { *(.debug_funcnames) }
126 .debug_typenames 0 : { *(.debug_typenames) }
127 .debug_varnames 0 : { *(.debug_varnames) }
128 /* These must appear regardless of . */
9957427e 129 /DISCARD/ : { *(.note.GNU-stack) *(.note.ABI-tag) }
6380ab5e 130}