source: asp_wio_terminal/trunk/target/samd51_gcc/samd51.ld@ 460

Last change on this file since 460 was 460, checked in by msugi, 18 months ago

ファイル一式の追加

File size: 1.1 KB
Line 
1MEMORY
2{
3 rom (rx) : ORIGIN = 0x00004000, LENGTH = 0x00080000-0x4000
4/* rom (rx) : ORIGIN = 0x00000000, LENGTH = 0x00080000-0x4000 */
5 ram (rwx) : ORIGIN = 0x20000000, LENGTH = 0x00030000
6 bkupram (rwx) : ORIGIN = 0x47000000, LENGTH = 0x00002000
7 qspi (rwx) : ORIGIN = 0x04000000, LENGTH = 0x01000000
8}
9
10PROVIDE(software_term_hook = 0);
11
12ENTRY(_kernel__start)
13
14SECTIONS
15{
16 .vector : {
17 *(.rodata.vector)
18 } > rom
19
20 .text :
21 {
22 __text = .;
23 *(.text)
24 *(.text.*)
25 } > rom
26 _etext = .;
27 PROVIDE(etext = .);
28
29 .rodata :
30 {
31 *(.rodata)
32 *(.rodata.*)
33 } > rom
34
35 .ARM.extab : { *(.ARM.extab* .gnu.linkonce.armextab.*) }
36 __exidx_start = .;
37 .ARM.exidx : { *(.ARM.exidx* .gnu.linkonce.armexidx.*) }
38 __exidx_end = .;
39
40 . = ALIGN(4);
41 __idata_start = .;
42 .data : AT (__idata_start)
43 {
44 __data_start = .;
45 *(.data)
46 *(.data.*)
47 } > ram
48 __idata_end = __idata_start + SIZEOF(.data);
49 _edata = .;
50 PROVIDE(edata = .);
51
52 . = ALIGN(4);
53
54 .bss :
55 {
56 __bss_start = .;
57 *(.bss)
58 *(.bss.*)
59 *(COMMON)
60 . = ALIGN(4);
61 __bss_end = .;
62 } > ram
63 . = ALIGN(4);
64 _end = .;
65 PROVIDE(end = .);
66}
Note: See TracBrowser for help on using the repository browser.