[XTENSA] adjust boot linker script start addresses
[safe/jmp/linux-2.6] / arch / xtensa / boot / boot-elf / boot.ld
1 OUTPUT_ARCH(xtensa)
2 ENTRY(_ResetVector)
3
4 SECTIONS
5 {
6         .start 0xD0000000 : { *(.start) }
7
8         .text 0xD0000000:
9         {
10                 __reloc_start = . ;
11                 _text_start = . ;
12                 *(.literal .text.literal .text)
13                 _text_end = . ;
14         }
15
16         .rodata ALIGN(0x04):
17         {
18                 *(.rodata)
19                 *(.rodata1)
20         }
21
22         .data ALIGN(0x04):
23         {
24                 *(.data)
25                 *(.data1)
26                 *(.sdata)
27                 *(.sdata2)
28                 *(.got.plt)
29                 *(.got)
30                 *(.dynamic)
31         }
32
33         __reloc_end = . ;
34
35         .initrd ALIGN(0x10) :
36         {
37                 boot_initrd_start = . ;
38                 *(.initrd)
39                 boot_initrd_end = .;
40         }
41
42         . = ALIGN(0x10);
43         __image_load = . ;
44         .image 0xd0001000:
45         {
46                 _image_start = .;
47                 *(image)
48                 . = (. + 3) & ~ 3;
49                 _image_end = .  ;
50         }
51
52
53         .bss ((LOADADDR(.image) + SIZEOF(.image) + 3) & ~ 3):
54         {
55                 __bss_start = .;
56                 *(.sbss)
57                 *(.scommon)
58                 *(.dynbss)
59                 *(.bss)
60                 __bss_end = .;
61         }
62         _end = .;
63         _param_start = .;
64
65         .ResetVector.text 0xfe000020 :
66         {
67                 *(.ResetVector.text)
68         }
69
70
71         PROVIDE (end = .);
72 }