1
2
3
4
5
6
7
8
9
10
11
12 #include <asm/vectors.h>
13 OUTPUT_ARCH(xtensa)
14 ENTRY(_ResetVector)
15
16 SECTIONS
17 {
18 .ResetVector.text XCHAL_RESET_VECTOR_VADDR :
19 {
20 *(.ResetVector.text)
21 }
22
23 .image KERNELOFFSET: AT (CONFIG_KERNEL_LOAD_ADDRESS)
24 {
25 _image_start = .;
26 *(image)
27 . = (. + 3) & ~ 3;
28 _image_end = . ;
29 }
30
31 .bss ((LOADADDR(.image) + SIZEOF(.image) + 3) & ~ 3):
32 {
33 __bss_start = .;
34 *(.sbss)
35 *(.scommon)
36 *(.dynbss)
37 *(.bss)
38 __bss_end = .;
39 }
40 }