blob: dc5a82bf9a884859e425e5a96cc37b62de3100eb [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001OUTPUT_ARCH(aarch64)
2
3ENTRY(_start)
4
5SECTIONS {
6
7 . = %BASE_ADDR%;
8 .start ALIGN(4) : {
9 *(.text.start)
10 }
11
12 . = . + 0x01FC;
13 .text ALIGN(4) : {
14 *(.text)
15 *(.text.*)
16 }
17 .rodata ALIGN(4) : {
18 *(.rodata)
19 *(.rodata.*)
20 }
21 .data ALIGN(4) : {
22 *(.data)
23 *(.data.*)
24 }
25
26 . = %BASE_ADDR%-0x100000 ;
27 .bss ALIGN(16) : {
28 _bss_start = .;
29 *(.bss)
30 *(.bss.*)
31 *(COMMON)
32 /* make _bss_end as 4 bytes alignment */
33 . = ALIGN(4);
34 _bss_end = .;
35 }
36
37}
38