]> git.openfabrics.org - ~shefty/rdma-dev.git/blob - arch/xtensa/boot/boot-redboot/boot.ld
xtensa: clean up boot make rules
[~shefty/rdma-dev.git] / arch / xtensa / boot / boot-redboot / boot.ld
1 OUTPUT_ARCH(xtensa)
2
3 SECTIONS
4 {
5         .start 0xD1000000 : { *(.start) }
6
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
34         . = 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 }