source: anotherchoice/tags/jsp-1.4.4-full-UTF8/config/h8/akih8_3069f/debug_redboot.ld@ 26

Last change on this file since 26 was 26, checked in by ykominami, 10 years ago

initial

File size: 1.3 KB
Line 
1OUTPUT_FORMAT("coff-h8300")
2OUTPUT_ARCH(h8300h)
3
4ENTRY("_start")
5
6MEMORY {
7 /* for mode 5: 0x000000 -> 0xffffff */
8 vectors : o = 0x4fff00, l = 0x000100 /* for debug */
9
10 /* use 1M for .text and .rodata */
11 ex_ram : o = 0x400000, l = 0x050000
12
13 /* use 1M for .data and .bss */
14 ex_ram5 : o = 0x450000, l = 0x0Aff00
15
16 /* use 16k for .stack */
17 in_ram : o = 0x500000, l = 0x010000
18
19 }
20
21PROVIDE(_hardware_init_hook = 0);
22PROVIDE(_software_init_hook = 0);
23PROVIDE(_software_term_hook = 0);
24SECTIONS {
25
26 .vectors : {
27 *(.vectors)
28 } >vectors
29
30 .text :
31 {
32 __text = . ;
33 *(.text)
34 } >ex_ram
35 _etext = . ;
36 PROVIDE (etext = .) ;
37
38 . = ALIGN(4);
39 .rodata : {
40 . = ALIGN(4);
41 *(.rodata)
42 } >ex_ram
43
44 . = ALIGN(4);
45 __idata_start = . ;
46 .data : AT(__idata_start)
47 {
48 __data_start = . ;
49 *(.data)
50 } >ex_ram5
51 __idata_end = __idata_start + SIZEOF(.data);
52 _edata = . ;
53 PROVIDE (edata = .);
54
55 . = ALIGN(4);
56 __bss_start = . ;
57 .bss :
58 {
59 *(.bss)
60 *(COMMON)
61 } >ex_ram5
62 _end = . ;
63 PROVIDE (end = .) ;
64
65 .comment 0 : { *(.comment) }
66 .debug 0 : { *(.debug) }
67 .line 0 : { *(.line) }
68 .debug_srcinfo 0 : { *(.debug_srcinfo) }
69 .debug_sfnames 0 : { *(.debug_sfnames) }
70 .debug_aranges 0 : { *(.debug_aranges) }
71 .debug_pubnames 0 : { *(.debug_pubnames) }
72}
73
74PROVIDE(_memcpy = _local_memcpy);
75
Note: See TracBrowser for help on using the repository browser.