1#include <variant/core.h> 2OUTPUT_ARCH(xtensa) 3ENTRY(_ResetVector) 4 5SECTIONS 6{ 7 .start 0xD0000000 : { *(.start) } 8 9 .text 0xD0000000: 10 { 11 __reloc_start = . ; 12 _text_start = . ; 13 *(.literal .text.literal .text) 14 _text_end = . ; 15 } 16 17 .rodata ALIGN(0x04): 18 { 19 *(.rodata) 20 *(.rodata1) 21 } 22 23 .data ALIGN(0x04): 24 { 25 *(.data) 26 *(.data1) 27 *(.sdata) 28 *(.sdata2) 29 *(.got.plt) 30 *(.got) 31 *(.dynamic) 32 } 33 34 __reloc_end = . ; 35 36 . = ALIGN(0x10); 37 __image_load = . ; 38 .image 0xd0001000: 39 { 40 _image_start = .; 41 *(image) 42 . = (. + 3) & ~ 3; 43 _image_end = . ; 44 } 45 46 47 .bss ((LOADADDR(.image) + SIZEOF(.image) + 3) & ~ 3): 48 { 49 __bss_start = .; 50 *(.sbss) 51 *(.scommon) 52 *(.dynbss) 53 *(.bss) 54 __bss_end = .; 55 } 56 _end = .; 57 _param_start = .; 58 59 .ResetVector.text XCHAL_RESET_VECTOR_VADDR : 60 { 61 *(.ResetVector.text) 62 } 63 64 65 PROVIDE (end = .); 66} 67