source: anotherchoice/tags/jsp-1.4.4-full-UTF8/config/armv4/ezarm7/ezarm7.ld@ 26

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

initial

File size: 2.3 KB
Line 
1/*
2 * @(#) $Id: excalibur.ld,v 1.4 2003/07/01 15:59:15 honda Exp $
3 */
4
5OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm","elf32-littlearm")
6OUTPUT_ARCH(arm)
7
8MEMORY {
9 /* 0x00000000 -> 0x0001FFFF */
10 rom1 : o = 0x00000000, l = 0x20000
11
12 rom2 : o = 0x00020000, l = 0x20000
13
14 /* use 16k for .stack, .data and .bss */
15 in_ram : o = 0x40000000, l = 0x4000
16
17 ex_ram : o = 0x80000000, l = 0x50000000
18
19}
20
21PROVIDE(hardware_init_hook = 0);
22PROVIDE(software_init_hook = 0);
23PROVIDE (software_term_hook = 0);
24/*PROVIDE(sbi_data_start = 0);*/
25
26SECTIONS
27{
28 . = 0x0;
29 .vector : {
30 *(.vector)
31 } >in_ram AT>rom1
32 .text :
33 {
34 __text = . ;
35 start.o(.text)
36 *(.text)
37 *(.glue_7t)
38 *(.glue_7)
39 } >rom1
40
41 _etext = . ;
42 PROVIDE (etext = .) ;
43
44 .rodata : {
45 *(.rodata)
46 *(.rodata*)
47
48 } >rom1
49
50 . = ALIGN(4);
51 __idata_start = . ;
52 .data : {
53 __data_start = .;
54 *(.data)
55 *(.sbi)
56 } >in_ram AT>rom1
57 __idata_end = __idata_start + SIZEOF(.data);
58
59 _edata = . ;
60 PROVIDE (edata = .);
61
62 .bss ALIGN(4) :
63 {
64 __bss_start = .;
65 *(.bss)
66 . = ALIGN(32 / 8);
67 } >in_ram
68
69 . = ALIGN(32 / 8);
70 _end = . ;
71 __bss_end = .;
72 PROVIDE (end = .) ;
73 .comment 0 : { *(.comment) }
74
75 /* DWARF debug sections.
76 Symbols in the DWARF debugging sections are relative to
77 the beginning of the section so we begin them at 0. */
78
79 /* DWARF 1 */
80 .debug 0 : { *(.debug) }
81 .line 0 : { *(.line) }
82
83 /* GNU DWARF 1 extensions */
84 .debug_srcinfo 0 : { *(.debug_srcinfo) }
85 .debug_sfnames 0 : { *(.debug_sfnames) }
86
87 /* DWARF 1.1 and DWARF 2 */
88 .debug_aranges 0 : { *(.debug_aranges) }
89 .debug_pubnames 0 : { *(.debug_pubnames) }
90
91 /* DWARF 2 */
92 .debug_info 0 : { *(.debug_info) }
93 .debug_abbrev 0 : { *(.debug_abbrev) }
94 .debug_line 0 : { *(.debug_line) }
95 .debug_frame 0 : { *(.debug_frame) }
96 .debug_str 0 : { *(.debug_str) }
97 .debug_loc 0 : { *(.debug_loc) }
98 .debug_macinfo 0 : { *(.debug_macinfo) }
99
100 /* SGI/MIPS DWARF 2 extensions */
101 .debug_weaknames 0 : { *(.debug_weaknames) }
102 .debug_funcnames 0 : { *(.debug_funcnames) }
103 .debug_typenames 0 : { *(.debug_typenames) }
104 .debug_varnames 0 : { *(.debug_varnames) }
105}
106
107
108
109
Note: See TracBrowser for help on using the repository browser.