source: asp3_wo_tecs/trunk/target/blueninja_gcc/blueninja_ram.ld@ 302

Last change on this file since 302 was 302, checked in by ertl-honda, 7 years ago

TECSレスのASP3の開発のため以下のtrunkからコピー
http://dev.toppers.jp/svn/asp3/branches/WO_TECS-3.C.0

File size: 2.1 KB
Line 
1MEMORY
2{
3 ROM (rx) : ORIGIN = 0x00000000, LENGTH = 1024K
4 RAM (rwx) : ORIGIN = 0x10000000, LENGTH = 256K
5 RAM2 (rwx) : ORIGIN = 0x20000000, LENGTH = 32K
6}
7
8OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm","elf32-littlearm")
9OUTPUT_ARCH(arm)
10
11PROVIDE(hardware_init_hook = 0);
12PROVIDE(software_init_hook = 0);
13PROVIDE(software_term_hook = 0);
14STARTUP(start.o)
15
16SECTIONS
17{
18 .boot :
19 {
20 *(.vector)
21 start.o(.text*)
22 } > ROM
23 _eboot = . ;
24
25 .text :
26 {
27 __text = . ;
28 *(.text*)
29 *(.glue_7t)
30 *(.glue_7)
31 } > RAM AT > ROM
32 _etext = . ;
33 PROVIDE (etext = .) ;
34
35 .rodata : {
36 *(.rodata*)
37 } > ROM
38
39 . = ALIGN(4);
40 .data :
41 {
42 __data_start = . ;
43 *(vtable)
44 *(.data*)
45 } > RAM AT > ROM
46 __idata_start = LOADADDR(.data) ;
47 __idata_end = __idata_start + SIZEOF(.data);
48 _edata = . ;
49 PROVIDE (edata = .);
50 . = ALIGN(4);
51
52 .bss :
53 {
54 __bss_start = . ;
55 *(.bss*)
56 *(COMMON)
57 . = ALIGN(32 / 8);
58 } > RAM2
59 . = ALIGN(32 / 8);
60 _end = . ;
61 __bss_end = .;
62 PROVIDE (end = .) ;
63
64 .comment 0 : { *(.comment) }
65
66 /* DWARF debug sections.
67 Symbols in the DWARF debugging sections are relative to
68 the beginning of the section so we begin them at 0. */
69
70 /* DWARF 1 */
71 .debug 0 : { *(.debug) }
72 .line 0 : { *(.line) }
73
74 /* GNU DWARF 1 extensions */
75 .debug_srcinfo 0 : { *(.debug_srcinfo) }
76 .debug_sfnames 0 : { *(.debug_sfnames) }
77
78 /* DWARF 1.1 and DWARF 2 */
79 .debug_aranges 0 : { *(.debug_aranges) }
80 .debug_pubnames 0 : { *(.debug_pubnames) }
81
82 /* DWARF 2 */
83 .debug_info 0 : { *(.debug_info) }
84 .debug_abbrev 0 : { *(.debug_abbrev) }
85 .debug_line 0 : { *(.debug_line) }
86 .debug_frame 0 : { *(.debug_frame) }
87 .debug_str 0 : { *(.debug_str) }
88 .debug_loc 0 : { *(.debug_loc) }
89 .debug_macinfo 0 : { *(.debug_macinfo) }
90
91 /* SGI/MIPS DWARF 2 extensions */
92 .debug_weaknames 0 : { *(.debug_weaknames) }
93 .debug_funcnames 0 : { *(.debug_funcnames) }
94 .debug_typenames 0 : { *(.debug_typenames) }
95 .debug_varnames 0 : { *(.debug_varnames) }
96}
Note: See TracBrowser for help on using the repository browser.