Debian Codegraph @

ports/qemu/mcu/arm/imx6.ld

raw
1 /* This file is part of the MicroPython project, http://micropython.org/
2 * The MIT License (MIT)
3 * Copyright (c) 2021 Damien P. George
4 */
5
6 /* Vector table is at 0x00000000, entry point is 0x10000000. */
7
8 MEMORY
9 {
10 ROM : ORIGIN = 0x00000000, LENGTH = 96K
11 RAM : ORIGIN = 0x10000000, LENGTH = 128M
12 }
13
14 _estack = ORIGIN(RAM) + LENGTH(RAM);
15
16 SECTIONS
17 {
18 .rom : {
19 . = ALIGN(4);
20 KEEP(*(.isr_vector))
21 . = ALIGN(4);
22 } > ROM
23
24 .text : {
25 . = ALIGN(4);
26 *(.text.Reset_Handler)
27 *(.text*)
28 *(.rodata*)
29 . = ALIGN(4);
30 _etext = .;
31 _sidata = _etext;
32 } > RAM
33
34 .data : AT ( _sidata )
35 {
36 . = ALIGN(4);
37 _sdata = .;
38 *(.data*)
39 . = ALIGN(4);
40 _edata = .;
41 } > RAM
42
43 .bss :
44 {
45 . = ALIGN(4);
46 _sbss = .;
47 *(.bss*)
48 *(COMMON)
49 . = ALIGN(4);
50 _ebss = .;
51 } > RAM
52 }