source: anotherchoice/tags/jsp-1.4.4-full-UTF8/config/mips3/vr4131/vr4131_elf.ld

Last change on this file was 363, checked in by ykominami, 5 years ago

add tags/jsp-1.4.4-full-UTF8

  • Property svn:executable set to *
File size: 2.0 KB
Line 
1OUTPUT_FORMAT("elf32-littlemips","elf32-littlemips","elf32-littlemips")
2OUTPUT_ARCH(mips)
3
4MEMORY
5{
6 ROM0(rxai):ORIGIN = 0xbfc00000, LENGTH = 0x700 /* kseg0 */
7 ROM1(rxai):ORIGIN = 0x9fc00700, LENGTH = 2M-0x700 /* kseg1 */
8/* ROM1(rxai):ORIGIN = 0xbfc00700, LENGTH = 2M-0x700*/ /* kseg0 */
9 RAM (wxai):ORIGIN = 0xa0200000, LENGTH = 14M /* kseg0 */
10 /* SDRAM の最初から取っていないのは、最初の2MB分は
11 ROM のミラー用に確保するため */
12}
13
14PROVIDE(_stack_top = 0);
15PROVIDE(hardware_init_hook = 0);
16PROVIDE(software_init_hook = 0);
17PROVIDE(software_term_hook = 0);
18
19SECTIONS
20{
21 _stack_top = 0x8c03fffc; /* = 0x8c040000 - 0x4 (SRAM) ; kseg1 */
22/* _stack_top = 0xac03fffc;*/ /* = 0xac040000 - 0x4 (SRAM) ; kseg0 */
23
24 .exce_vec_map :
25 {
26 *(.exce_vec_map)
27 } > ROM0
28
29 .reset 0xbfc00400 : /* キャッシュ初期化などを含む */
30 {
31 *(.reset)
32 } > ROM0
33
34 .text :
35 {
36 _stext = . ;
37 *(.text)
38 _etext = . ;
39 } > ROM1
40
41 .rodata :
42 {
43 *(.rodata)
44 } > ROM1
45
46 __idata_start = .;
47 .data : AT ( __idata_start )
48 {
49 __data_start = . ;
50 *(.data)
51 } > RAM
52
53 /* 理由は良く分からないけれども、こう書くのが一般的らしい。 */
54 _gp = . + 0x8000;
55
56 /* sdata セクションは chk で引っかかるので、保留。
57 コンパイル時に、-G 0 オプションで避けています。 */
58
59 __isdata_start = .;
60 .sdata : AT ( __isdata_start + SIZEOF(.data) )
61 {
62 *(.lit8)
63 *(.lit4)
64 *(.sdata)
65 } > RAM
66 __idata_end = __idata_start + SIZEOF(.data) + SIZEOF(.sdata);
67
68 __bss_start = . ;
69
70 .sbss :
71 {
72 _fbss = . ;
73 *(.sbss)
74 *(.scommon)
75 } > RAM
76
77 .bss :
78 {
79 *(.bss)
80 *(COMMON)
81 __bss_end = .;
82 _end = . ;
83 } > RAM
84
85 PROVIDE (end = .);
86
87 .comment 0 : { *(.comment) }
88 .debug 0 : { *(.debug) }
89 .line 0 : { *(.line) }
90 .debug_srcinfo 0 : { *(.debug_srcinfo) }
91 .debug_sfnames 0 : { *(.debug_sfnames) }
92 .debug_aranges 0 : { *(.debug_aranges) }
93 .debug_pubnames 0 : { *(.debug_pubnames) }
94}
95
96PROVIDE(memcpy = _dummy_memcpy);
Note: See TracBrowser for help on using the repository browser.