blob: d55d335fc403e3e5a1f9692b716dec5d6cdab31e [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001OUTPUT_ARCH(arm)
2
3ENTRY(_start)
4
5SECTIONS {
6
7 . = %BASE_ADDR%;
8 .start ALIGN(4) : {
9 *(.text.start)
10 }
11
12 . = . + 0x01FC;
13 .rom_info ALIGN(4) : {
14 *(.data.rom_info)
15 }
16 .text ALIGN(4) : {
17 *(.text)
18 *(.text.*)
19 }
20 .rodata ALIGN(4) : {
21 *(.rodata)
22 *(.rodata.*)
23 }
24 .data ALIGN(4) : {
25 *(.data)
26 *(.data.*)
27 }
28 .got ALIGN(4) : {
29 *(.got)
30 *(.got.*)
31 }
32
33 . = %BASE_ADDR%-0x100000 ;
34 .bss ALIGN(16) : {
35 _bss_start = .;
36 *(.bss)
37 *(.bss.*)
38 *(COMMON)
39 /* make _bss_end as 4 bytes alignment */
40 . = ALIGN(4);
41 _bss_end = .;
42 }
43
44 .secbuf ALIGN(4) : {
45 _secbuf_start = .;
46 *(.secbuf)
47 _secbuf_end = .;
48 }
49
50}
51