]> sourceware.org Git - newlib-cygwin.git/blob - libgloss/m32r/eva-stub.ld
2003-04-17 Inaoka Kazuhiro <inaoka.kazuhiro@renesas.com>
[newlib-cygwin.git] / libgloss / m32r / eva-stub.ld
1 OUTPUT_FORMAT("elf32-m32r", "elf32-m32r",
2 "elf32-m32r")
3 OUTPUT_ARCH(m32r)
4 ENTRY(_start)
5 /* Do we need any of these for elf?
6 __DYNAMIC = 0; */
7
8 INPUT(m32r-stub.o)
9 INPUT(m32r-lib.o)
10 INPUT(-lgloss)
11
12 SECTIONS
13 {
14 /* Read-only sections, merged into text segment: */
15 . = 0x200000;
16 .interp : { *(.interp) }
17 .hash : { *(.hash) }
18 .dynsym : { *(.dynsym) }
19 .dynstr : { *(.dynstr) }
20 .rel.text : { *(.rel.text) }
21 .rela.text : { *(.rela.text) }
22 .rel.data : { *(.rel.data) }
23 .rela.data : { *(.rela.data) }
24 .rel.rodata : { *(.rel.rodata) }
25 .rela.rodata : { *(.rela.rodata) }
26 .rel.got : { *(.rel.got) }
27 .rela.got : { *(.rela.got) }
28 .rel.ctors : { *(.rel.ctors) }
29 .rela.ctors : { *(.rela.ctors) }
30 .rel.dtors : { *(.rel.dtors) }
31 .rela.dtors : { *(.rela.dtors) }
32 .rel.init : { *(.rel.init) }
33 .rela.init : { *(.rela.init) }
34 .rel.fini : { *(.rel.fini) }
35 .rela.fini : { *(.rela.fini) }
36 .rel.bss : { *(.rel.bss) }
37 .rela.bss : { *(.rela.bss) }
38 .rel.plt : { *(.rel.plt) }
39 .rela.plt : { *(.rela.plt) }
40 .init : { *(.init) } = 0
41 .plt : { *(.plt) }
42 .text :
43 {
44 *(.text)
45 /* .gnu.warning sections are handled specially by elf32.em. */
46 *(.gnu.warning)
47 *(.gnu.linkonce.t*)
48 } = 0
49 _etext = .;
50 PROVIDE (etext = .);
51 .fini : { *(.fini) } = 0
52 .rodata : { *(.rodata) *(.gnu.linkonce.r*) }
53 .rodata1 : { *(.rodata1) }
54 /* Adjust the address for the data segment. We want to adjust up to
55 the same address within the page on the next page up. */
56 . = ALIGN(32) + (ALIGN(8) & (32 - 1));
57 .data :
58 {
59 *(.data)
60 *(.gnu.linkonce.d*)
61 CONSTRUCTORS
62 }
63 .data1 : { *(.data1) }
64 .ctors :
65 {
66 *(.ctors)
67 }
68 .dtors :
69 {
70 *(.dtors)
71 }
72 .got : { *(.got.plt) *(.got) }
73 .dynamic : { *(.dynamic) }
74 /* We want the small data sections together, so single-instruction offsets
75 can access them all, and initialized data all before uninitialized, so
76 we can shorten the on-disk segment size. */
77 .sdata : { *(.sdata) }
78 _edata = .;
79 PROVIDE (edata = .);
80 __bss_start = .;
81 .sbss : { *(.sbss) *(.scommon) }
82 .bss :
83 {
84 *(.dynbss)
85 *(.bss)
86 *(COMMON)
87 }
88 _end = . ;
89 PROVIDE (end = .);
90 /* Stabs debugging sections. */
91 .stab 0 : { *(.stab) }
92 .stabstr 0 : { *(.stabstr) }
93 .stab.excl 0 : { *(.stab.excl) }
94 .stab.exclstr 0 : { *(.stab.exclstr) }
95 .stab.index 0 : { *(.stab.index) }
96 .stab.indexstr 0 : { *(.stab.indexstr) }
97 .comment 0 : { *(.comment) }
98 /* DWARF debug sections.
99 Symbols in the .debug DWARF section are relative to the beginning of the
100 section so we begin .debug at 0. It's not clear yet what needs to happen
101 for the others. */
102 .debug 0 : { *(.debug) }
103 .debug_srcinfo 0 : { *(.debug_srcinfo) }
104 .debug_aranges 0 : { *(.debug_aranges) }
105 .debug_pubnames 0 : { *(.debug_pubnames) }
106 .debug_sfnames 0 : { *(.debug_sfnames) }
107 .line 0 : { *(.line) }
108 .stack 0x207ffc : { _stack = .; *(.stack) }
109 /* These must appear regardless of . */
110 }
111
This page took 0.040377 seconds and 5 git commands to generate.