forked from wolfSSL/wolfBoot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPPC.ld
More file actions
45 lines (38 loc) · 616 Bytes
/
PPC.ld
File metadata and controls
45 lines (38 loc) · 616 Bytes
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
OUTPUT_ARCH( "powerpc" )
ENTRY( main )
PHDRS
{
text PT_LOAD;
bss PT_LOAD;
}
SECTIONS
{
. = @WOLFBOOT_LOAD_ADDRESS@;
.text :
{
*(.text.main)
*(.text*)
*(.rodata*)
} :text
.data :
{
_start_data = .;
KEEP(*(.data*))
. = ALIGN(4);
KEEP(*(.ramcode))
. = ALIGN(4);
_end_data = .;
}
.bss (NOLOAD) :
{
_start_bss = .;
__bss_start__ = .;
*(.bss*)
*(COMMON)
. = ALIGN(4);
_end_bss = .;
__bss_end__ = .;
_end = .;
}
. = ALIGN(4);
}