Line | |
---|
1 | /*
|
---|
2 | * @(#) $Id: armelf.ld,v 1.6 2003/07/01 15:59:15 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 | . = 0x00 ;
|
---|
15 | .vector :
|
---|
16 | {
|
---|
17 | *(.vector)
|
---|
18 | }
|
---|
19 |
|
---|
20 | .text :
|
---|
21 | {
|
---|
22 | __text = . ;
|
---|
23 | *(.text)
|
---|
24 | }
|
---|
25 | _etext = . ;
|
---|
26 | PROVIDE (etext = .) ;
|
---|
27 | .rodata : { *(.rodata) }
|
---|
28 | . = ALIGN(4);
|
---|
29 | __idata_start = . ;
|
---|
30 | .data : AT(__idata_start)
|
---|
31 | {
|
---|
32 | __data_start = . ;
|
---|
33 | *(.data)
|
---|
34 | }
|
---|
35 | .eh_frame : {KEEP(*(.eh_frame))}
|
---|
36 | .gcc_except_table : { *(.gcc_except_table) }
|
---|
37 | .ctors :
|
---|
38 | {
|
---|
39 | PROVIDE(__CTOR_BEGIN__ = .);
|
---|
40 | KEEP (*(SORT(.ctors.*)))
|
---|
41 | KEEP (*(.ctors))
|
---|
42 | PROVIDE(__CTOR_END__ = .);
|
---|
43 | }
|
---|
44 | . = ALIGN(4);
|
---|
45 | .dtors :
|
---|
46 | {
|
---|
47 | PROVIDE(__DTOR_BEGIN__ = .);
|
---|
48 | KEEP (*(SORT(.dtors.*)))
|
---|
49 | KEEP (*(.dtors))
|
---|
50 | PROVIDE(__DTOR_END__ = .);
|
---|
51 | }
|
---|
52 | __idata_end = __idata_start + SIZEOF(.data);
|
---|
53 | _edata = . ;
|
---|
54 |
|
---|
55 | PROVIDE (edata = .);
|
---|
56 | . = ALIGN(4);
|
---|
57 | __bss_start = . ;
|
---|
58 | .bss :
|
---|
59 | {
|
---|
60 |
|
---|
61 | *(.bss)
|
---|
62 | *(COMMON)
|
---|
63 | }
|
---|
64 | _end = . ;
|
---|
65 | __bss_end = .;
|
---|
66 | PROVIDE (end = .) ;
|
---|
67 | .comment 0 : { *(.comment) }
|
---|
68 | .debug 0 : { *(.debug) }
|
---|
69 | .line 0 : { *(.line) }
|
---|
70 | .debug_srcinfo 0 : { *(.debug_srcinfo) }
|
---|
71 | .debug_sfnames 0 : { *(.debug_sfnames) }
|
---|
72 | .debug_aranges 0 : { *(.debug_aranges) }
|
---|
73 | .debug_pubnames 0 : { *(.debug_pubnames) }
|
---|
74 | }
|
---|
75 |
|
---|
76 |
|
---|
77 |
|
---|
78 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.