1 | /*
|
---|
2 | * @(#) $Id: integrator.ld,v 1.1 2004/05/23 12:18:56 honda Exp $
|
---|
3 | */
|
---|
4 |
|
---|
5 | OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm","elf32-littlearm")
|
---|
6 | OUTPUT_ARCH(arm)
|
---|
7 |
|
---|
8 | PROVIDE(hardware_init_hook = 0);
|
---|
9 | PROVIDE(software_init_hook = 0);
|
---|
10 | PROVIDE(software_term_hook = 0);
|
---|
11 |
|
---|
12 | SECTIONS
|
---|
13 | {
|
---|
14 | .text :
|
---|
15 | {
|
---|
16 | __text = . ;
|
---|
17 | start.o(.vector)
|
---|
18 | start.o(.text)
|
---|
19 | *(.text)
|
---|
20 | *(.glue_7t)
|
---|
21 | *(.glue_7)
|
---|
22 | }
|
---|
23 | _etext = . ;
|
---|
24 | PROVIDE (etext = .) ;
|
---|
25 | .rodata : {
|
---|
26 | *(.rodata)
|
---|
27 | }
|
---|
28 |
|
---|
29 | . = ALIGN(4);
|
---|
30 | __idata_start = . ;
|
---|
31 | .data : AT(__idata_start)
|
---|
32 | {
|
---|
33 | __data_start = . ;
|
---|
34 | *(.data)
|
---|
35 | }
|
---|
36 | __idata_end = __idata_start + SIZEOF(.data);
|
---|
37 | _edata = . ;
|
---|
38 | PROVIDE (edata = .);
|
---|
39 | . = ALIGN(4);
|
---|
40 | __bss_start = . ;
|
---|
41 | .bss :
|
---|
42 | {
|
---|
43 | *(.bss)
|
---|
44 | *(COMMON)
|
---|
45 | . = ALIGN(32 / 8);
|
---|
46 | }
|
---|
47 |
|
---|
48 | . = ALIGN(32 / 8);
|
---|
49 | _end = . ;
|
---|
50 | __bss_end = .;
|
---|
51 | PROVIDE (end = .) ;
|
---|
52 | .comment 0 : { *(.comment) }
|
---|
53 |
|
---|
54 | /* DWARF debug sections.
|
---|
55 | Symbols in the DWARF debugging sections are relative to
|
---|
56 | the beginning of the section so we begin them at 0. */
|
---|
57 |
|
---|
58 | /* DWARF 1 */
|
---|
59 | .debug 0 : { *(.debug) }
|
---|
60 | .line 0 : { *(.line) }
|
---|
61 |
|
---|
62 | /* GNU DWARF 1 extensions */
|
---|
63 | .debug_srcinfo 0 : { *(.debug_srcinfo) }
|
---|
64 | .debug_sfnames 0 : { *(.debug_sfnames) }
|
---|
65 |
|
---|
66 | /* DWARF 1.1 and DWARF 2 */
|
---|
67 | .debug_aranges 0 : { *(.debug_aranges) }
|
---|
68 | .debug_pubnames 0 : { *(.debug_pubnames) }
|
---|
69 |
|
---|
70 | /* DWARF 2 */
|
---|
71 | .debug_info 0 : { *(.debug_info) }
|
---|
72 | .debug_abbrev 0 : { *(.debug_abbrev) }
|
---|
73 | .debug_line 0 : { *(.debug_line) }
|
---|
74 | .debug_frame 0 : { *(.debug_frame) }
|
---|
75 | .debug_str 0 : { *(.debug_str) }
|
---|
76 | .debug_loc 0 : { *(.debug_loc) }
|
---|
77 | .debug_macinfo 0 : { *(.debug_macinfo) }
|
---|
78 |
|
---|
79 | /* SGI/MIPS DWARF 2 extensions */
|
---|
80 | .debug_weaknames 0 : { *(.debug_weaknames) }
|
---|
81 | .debug_funcnames 0 : { *(.debug_funcnames) }
|
---|
82 | .debug_typenames 0 : { *(.debug_typenames) }
|
---|
83 | .debug_varnames 0 : { *(.debug_varnames) }
|
---|
84 | }
|
---|
85 |
|
---|
86 |
|
---|
87 |
|
---|
88 |
|
---|