* gdb.base/completion.exp: Recognize the more detailed error
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / d10v.ld
1 OUTPUT_FORMAT("elf32-d10v", "elf32-d10v",
2 "elf32-d10v")
3 OUTPUT_ARCH(d10v)
4 ENTRY(_start)
5 SEARCH_DIR(/usr/cygnus/d10v-961230/H-sparc-sun-sunos4.1//lib);
6 /* Do we need any of these for elf?
7 __DYNAMIC = 0; */
8 SECTIONS
9 {
10 /* Overlay sections: */
11 .ovly0 0x01010000 : AT (0x12010000) { foo.o(.text) }
12 .ovly1 0x01010000 : AT (0x12011000) { bar.o(.text) }
13 .ovly2 0x01011000 : AT (0x12012000) { baz.o(.text) }
14 .ovly3 0x01011000 : AT (0x12013000) { grbx.o(.text) }
15 .data00 0x00001000 : AT (0x12014000) { foo.o(.data) }
16 .data01 0x00001000 : AT (0x12015000) { bar.o(.data) }
17 .data02 0x00002000 : AT (0x12016000) { baz.o(.data) }
18 .data03 0x00002000 : AT (0x12017000) { grbx.o(.data) }
19 /* Read-only sections, merged into data segment: */
20 . = 0x00000004;
21 .interp : { *(.interp) }
22 .hash : { *(.hash) }
23 .dynsym : { *(.dynsym) }
24 .dynstr : { *(.dynstr) }
25 .rel.text : { *(.rel.text) }
26 .rela.text : { *(.rela.text) }
27 .rel.data : { *(.rel.data) }
28 .rela.data : { *(.rela.data) }
29 .rel.rodata : { *(.rel.rodata) }
30 .rela.rodata : { *(.rela.rodata) }
31 .rel.got : { *(.rel.got) }
32 .rela.got : { *(.rela.got) }
33 .rel.ctors : { *(.rel.ctors) }
34 .rela.ctors : { *(.rela.ctors) }
35 .rel.dtors : { *(.rel.dtors) }
36 .rela.dtors : { *(.rela.dtors) }
37 .rel.init : { *(.rel.init) }
38 .rela.init : { *(.rela.init) }
39 .rel.fini : { *(.rel.fini) }
40 .rela.fini : { *(.rela.fini) }
41 .rel.bss : { *(.rel.bss) }
42 .rela.bss : { *(.rela.bss) }
43 .rel.plt : { *(.rel.plt) }
44 .rela.plt : { *(.rela.plt) }
45 .plt : { *(.plt) }
46 .rodata : { *(.rodata) *(.gnu.linkonce.r*) }
47 .rodata1 : { *(.rodata1) }
48 /* Adjust the address for the data segment. */
49 . = ALIGN(4);
50 .data :
51 {
52 *(.data)
53 *(.gnu.linkonce.d*)
54 _ovly_table = .;
55 LONG(ABSOLUTE(ADDR(.ovly0)));
56 LONG(SIZEOF(.ovly0));
57 LONG(LOADADDR(.ovly0));
58 LONG(0);
59 LONG(ABSOLUTE(ADDR(.ovly1)));
60 LONG(SIZEOF(.ovly1));
61 LONG(LOADADDR(.ovly1));
62 LONG(0);
63 LONG(ABSOLUTE(ADDR(.ovly2)));
64 LONG(SIZEOF(.ovly2));
65 LONG(LOADADDR(.ovly2));
66 LONG(0);
67 LONG(ABSOLUTE(ADDR(.ovly3)));
68 LONG(SIZEOF(.ovly3));
69 LONG(LOADADDR(.ovly3));
70 LONG(0);
71 LONG(ABSOLUTE(ADDR(.data00)));
72 LONG(SIZEOF(.data00));
73 LONG(LOADADDR(.data00));
74 LONG(0);
75 LONG(ABSOLUTE(ADDR(.data01)));
76 LONG(SIZEOF(.data01));
77 LONG(LOADADDR(.data01));
78 LONG(0);
79 LONG(ABSOLUTE(ADDR(.data02)));
80 LONG(SIZEOF(.data02));
81 LONG(LOADADDR(.data02));
82 LONG(0);
83 LONG(ABSOLUTE(ADDR(.data03)));
84 LONG(SIZEOF(.data03));
85 LONG(LOADADDR(.data03));
86 LONG(0);
87 _novlys = .;
88 LONG((_novlys - _ovly_table) / 16);
89 CONSTRUCTORS
90 }
91 .data1 : { *(.data1) }
92 .ctors :
93 {
94 *(.ctors)
95 }
96 .dtors :
97 {
98 *(.dtors)
99 }
100 .got : { *(.got.plt) *(.got) }
101 .dynamic : { *(.dynamic) }
102 /* We want the small data sections together, so single-instruction offsets
103 can access them all, and initialized data all before uninitialized, so
104 we can shorten the on-disk segment size. */
105 .sdata : { *(.sdata) }
106 _edata = .;
107 PROVIDE (edata = .);
108 __bss_start = .;
109 .sbss : { *(.sbss) *(.scommon) }
110 .bss :
111 {
112 *(.dynbss)
113 *(.bss)
114 *(COMMON)
115 }
116 _end = . ;
117 PROVIDE (end = .);
118 /* Stabs debugging sections. */
119 .stab 0 : { *(.stab) }
120 .stabstr 0 : { *(.stabstr) }
121 .stab.excl 0 : { *(.stab.excl) }
122 .stab.exclstr 0 : { *(.stab.exclstr) }
123 .stab.index 0 : { *(.stab.index) }
124 .stab.indexstr 0 : { *(.stab.indexstr) }
125 .comment 0 : { *(.comment) }
126 /* DWARF debug sections.
127 Symbols in the .debug DWARF section are relative to the beginning of the
128 section so we begin .debug at 0. It's not clear yet what needs to happen
129 for the others. */
130 .debug 0 : { *(.debug) }
131 .debug_info 0 : { *(.debug_info) }
132 .debug_abbrev 0 : { *(.debug_abbrev) }
133 .debug_line 0 : { *(.debug_line) }
134 .debug_frame 0 : { *(.debug_frame) }
135 .debug_srcinfo 0 : { *(.debug_srcinfo) }
136 .debug_aranges 0 : { *(.debug_aranges) }
137 .debug_pubnames 0 : { *(.debug_pubnames) }
138 .debug_sfnames 0 : { *(.debug_sfnames) }
139 .line 0 : { *(.line) }
140 /* These must appear regardless of . */
141 /* Hmmm, there's got to be a better way. This sets the stack to the
142 top of the simulator memory (i.e. top of 64K data space). */
143 .stack 0x00007FFE : { _stack = .; *(.stack) }
144 .text 0x1000000 :
145 {
146 *(.init)
147 *(.fini)
148 *(.text)
149 /* .gnu.warning sections are handled specially by elf32.em. */
150 *(.gnu.warning)
151 *(.gnu.linkonce.t*)
152 } =0
153 _etext = .;
154 PROVIDE (etext = .);
155 }
This page took 0.0333329999999999 seconds and 4 git commands to generate.