blob: 5bbcaf9e830df7de973d125d5ef9ded9adbde2df [file] [log] [blame]
Chris Zankel4bedea92005-06-23 22:01:12 -07001OUTPUT_ARCH(xtensa)
2
3SECTIONS
4{
Marc Gauthiered3174d2007-10-23 16:40:24 -07005 .start 0xD1000000 : { *(.start) }
Chris Zankel4bedea92005-06-23 22:01:12 -07006
7 .text :
8 {
9 __reloc_start = . ;
10 _text_start = . ;
11 *(.literal .text.literal .text)
12 _text_end = . ;
13 }
14
15 .rodata ALIGN(0x04):
16 {
17 *(.rodata)
18 *(.rodata1)
19 }
20
21 .data ALIGN(0x04):
22 {
23 *(.data)
24 *(.data1)
25 *(.sdata)
26 *(.sdata2)
27 *(.got.plt)
28 *(.got)
29 *(.dynamic)
30 }
31
32 __reloc_end = . ;
33
Chris Zankel4bedea92005-06-23 22:01:12 -070034 . = ALIGN(0x10);
35 __image_load = . ;
36 .image 0xd0001000: AT(__image_load)
37 {
38 _image_start = .;
39 *(image)
40 . = (. + 3) & ~ 3;
41 _image_end = . ;
42 }
43
44
45 .bss ((LOADADDR(.image) + SIZEOF(.image) + 3) & ~ 3):
46 {
47 __bss_start = .;
48 *(.sbss)
49 *(.scommon)
50 *(.dynbss)
51 *(.bss)
52 __bss_end = .;
53 }
54 _end = .;
55 _param_start = .;
56
57
58 PROVIDE (end = .);
59}