source: asp3_tinet_ecnl_arm/trunk/asp3_dcre/target/gr_peach_gcc/gr_peach_ram.ld@ 352

Last change on this file since 352 was 352, checked in by coas-nagasima, 6 years ago

arm向けASP3版ECNLを追加

File size: 2.5 KB
Line 
1/*
2 * $Id$
3 */
4
5OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm","elf32-littlearm")
6OUTPUT_ARCH(arm)
7ENTRY(start);
8
9MEMORY {
10 ROM (rx) : ORIGIN = 0x20000000, LENGTH = 1M
11 RAM (xrw) : ORIGIN = 0x20100000, LENGTH = 9M
12}
13
14PROVIDE(hardware_init_hook = 0);
15PROVIDE(software_init_hook = 0);
16PROVIDE(software_term_hook = 0);
17
18SECTIONS {
19 .text : {
20 __start_text = .;
21 *(.vector)
22 *(.text)
23 *(.glue_7t)
24 *(.glue_7)
25 __end_kernel = .;
26 } > ROM
27 _etext = .;
28 PROVIDE(etext = .);
29
30 .rodata ALIGN(4) : {
31 __start_rodata = .;
32 *(.rodata)
33 __end_rodata = .;
34 } > ROM
35 .preinit_array ALIGN(4) : {
36 PROVIDE_HIDDEN (__preinit_array_start = .);
37 KEEP (*(.preinit_array))
38 PROVIDE_HIDDEN (__preinit_array_end = .);
39 } > ROM
40 .init_array ALIGN(4) : {
41 PROVIDE_HIDDEN (__init_array_start = .);
42 KEEP (*(SORT(.init_array.*)))
43 KEEP (*(.init_array))
44 PROVIDE_HIDDEN (__init_array_end = .);
45 } > ROM
46 .fini_array ALIGN(4) : {
47 PROVIDE_HIDDEN (__fini_array_start = .);
48 KEEP (*(SORT(.fini_array.*)))
49 KEEP (*(.fini_array))
50 PROVIDE_HIDDEN (__fini_array_end = .);
51 } > ROM
52 .ARM.exidx ALIGN(4) : {
53 __exidx_start = .;
54 *(.ARM.exidx* .gnu.linkonce.armexidx.*)
55 __exidx_end = .;
56 } > ROM
57
58 .data : ALIGN(4) {
59 __start_data = .;
60 *(.data)
61 __end_data = .;
62 } > RAM AT > ROM
63 __start_idata = LOADADDR(.data);
64 . = ALIGN(4);
65 _edata = .;
66 PROVIDE(edata = .);
67
68 .bss ALIGN(4) : {
69 __start_bss = .;
70 *(.bss)
71 *(COMMON)
72 __end_bss = .;
73 } > RAM
74 . = ALIGN(4);
75 _end = .;
76 PROVIDE(end = .);
77 .comment 0 : { *(.comment) }
78
79 /*
80 * DWARF debug sections.
81 * Symbols in the DWARF debugging sections are relative to
82 * the beginning of the section so we begin them at 0.
83 */
84
85 /* DWARF 1 */
86 .debug 0 : { *(.debug) }
87 .line 0 : { *(.line) }
88
89 /* GNU DWARF 1 extensions */
90 .debug_srcinfo 0 : { *(.debug_srcinfo) }
91 .debug_sfnames 0 : { *(.debug_sfnames) }
92
93 /* DWARF 1.1 and DWARF 2 */
94 .debug_aranges 0 : { *(.debug_aranges) }
95 .debug_pubnames 0 : { *(.debug_pubnames) }
96
97 /* DWARF 2 */
98 .debug_info 0 : { *(.debug_info) }
99 .debug_abbrev 0 : { *(.debug_abbrev) }
100 .debug_line 0 : { *(.debug_line) }
101 .debug_frame 0 : { *(.debug_frame) }
102 .debug_str 0 : { *(.debug_str) }
103 .debug_loc 0 : { *(.debug_loc) }
104 .debug_macinfo 0 : { *(.debug_macinfo) }
105
106 /* SGI/MIPS DWARF 2 extensions */
107 .debug_weaknames 0 : { *(.debug_weaknames) }
108 .debug_funcnames 0 : { *(.debug_funcnames) }
109 .debug_typenames 0 : { *(.debug_typenames) }
110 .debug_varnames 0 : { *(.debug_varnames) }
111}
Note: See TracBrowser for help on using the repository browser.