-
Notifications
You must be signed in to change notification settings - Fork 100
/
ARM-r5be.ld
53 lines (45 loc) · 984 Bytes
/
ARM-r5be.ld
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/* see SPNU118U - January 2018 section 8.5 for linker syntax */
--retain="*(.isr_vector)"
--entry_point=isr_reset
MEMORY
{
FLASH (RX) : ORIGIN = @WOLFBOOT_TEST_APP_ADDRESS@, LENGTH = @WOLFBOOT_TEST_APP_SIZE@
RAM (RWX) : ORIGIN = 0x08000000, LENGTH = 0x00080000
}
SECTIONS
{
.text :
{
_start_text = .;
*(.isr_vector)
*(.text*)
*(.const*)
. = ALIGN(4);
_end_text = .;
_stored_data = .;
} > FLASH /* FLASH0 | FLASH1 */
.data :
{
_start_data = .;
*(.data*)
*(.ramcode)
_end_data = .;
} load=FLASH, run=RAM
.bss (NOLOAD) :
{
_start_bss = .;
__bss_start__ = .;
*(.bss*)
. = ALIGN(4);
_end_bss = .;
__bss_end__ = .;
_end = .;
_start_heap = .;
} > RAM
.stack (NOLOAD) :
{
_end_stack = .;
/* used for dynamic allocation */
*(.sysmem*)
} > RAM (HIGH)
}