-
Notifications
You must be signed in to change notification settings - Fork 4
/
sk.lcf
executable file
·125 lines (116 loc) · 3.96 KB
/
sk.lcf
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
OUTPUT_ARCH(mips)
ENTRY(entrypoint)
MEMORY {
sram (rwx) : ORIGIN = 0x9FC00000, LENGTH = 0x20000
flash (r) : ORIGIN = 0, LENGTH = 0x10000
}
SECTIONS {
.text :
{
PROVIDE(entrypoint = .);
KEEP(build/src/entry.o(.text*));
build/src/cache.o(.text*)
build/src/invaldcache.o(.text*)
build/src/9FC00B40.o(.text*)
build/src/9FC01B60.o(.text*)
build/src/9FC02700.o(.text*)
build/src/9FC02980.o(.text*)
build/src/9FC031D0.o(.text*)
build/src/9FC03ED0.o(.text*)
build/src/9FC03F10.o(.text*)
build/src/9FC043B0.o(.text*)
build/src/9FC04780.o(.text*)
build/src/root_pubkey.o(.text*)
build/src/libcrypto/aes.o(.text*)
build/src/libcrypto/aes_api.o(.text*)
build/src/libcrypto/aes_imp.o(.text*)
build/src/libcrypto/sha1.o(.text*)
build/src/libcrypto/bb_nn.o(.text*)
build/src/libcrypto/poly_math.o(.text*)
build/src/libcrypto/algorithms.o(.text*)
build/src/libcrypto/elliptic_math.o(.text*)
} > sram AT > flash
.rodata :
{
build/src/entry.o(.rodata*)
build/src/cache.o(.rodata*)
build/src/invaldcache.o(.rodata*)
build/src/9FC00B40.o(.rodata*)
build/src/9FC01B60.o(.rodata*)
build/src/9FC02700.o(.rodata*)
build/src/9FC02980.o(.rodata*)
build/src/9FC031D0.o(.rodata*)
build/src/9FC03ED0.o(.rodata*)
build/src/9FC03F10.o(.rodata*)
build/src/9FC043B0.o(.rodata*)
build/src/9FC04780.o(.rodata*)
build/src/root_pubkey.o(.rodata*)
build/src/libcrypto/aes.o(.rodata*)
build/src/libcrypto/aes_api.o(.rodata*)
build/src/libcrypto/aes_imp.o(.rodata*)
build/src/libcrypto/sha1.o(.rodata*)
build/src/libcrypto/bb_nn.o(.rodata*)
build/src/libcrypto/poly_math.o(.rodata*)
build/src/libcrypto/algorithms.o(.rodata*)
build/src/libcrypto/elliptic_math.o(.rodata*)
} > sram AT > flash
.data :
{
build/src/entry.o(.data*)
build/src/cache.o(.data*)
build/src/invaldcache.o(.data*)
build/src/9FC00B40.o(.data*)
build/src/9FC01B60.o(.data*)
build/src/9FC02700.o(.data*)
build/src/9FC02980.o(.data*)
build/src/9FC031D0.o(.data*)
build/src/9FC03ED0.o(.data*)
build/src/9FC03F10.o(.data*)
build/src/9FC043B0.o(.data*)
build/src/9FC04780.o(.data*)
build/src/root_pubkey.o(.data*)
build/src/libcrypto/aes.o(.data*)
build/src/libcrypto/aes_api.o(.data*)
build/src/libcrypto/aes_imp.o(.data*)
build/src/libcrypto/sha1.o(.data*)
build/src/libcrypto/bb_nn.o(.data*)
build/src/libcrypto/poly_math.o(.data*)
build/src/libcrypto/algorithms.o(.data*)
build/src/libcrypto/elliptic_math.o(.data*)
} > sram AT > flash
.bss (NOLOAD) :
{
__bss_start = .;
#ifndef NON_MATCHING
/* force a matching bss order for COMMON symbols */
build/src/__bss.o(.bss)
#endif
build/src/entry.o(.bss*)
build/src/cache.o(.bss*)
build/src/invaldcache.o(.bss*)
build/src/9FC00B40.o(.bss*)
build/src/9FC01B60.o(.bss*)
build/src/9FC02700.o(.bss*)
build/src/9FC02980.o(.bss*)
build/src/9FC031D0.o(.bss*)
build/src/9FC03ED0.o(.bss*)
build/src/9FC03F10.o(.bss*)
build/src/9FC043B0.o(.bss*)
build/src/9FC04780.o(.bss*)
build/src/root_pubkey.o(.bss*)
build/src/libcrypto/aes.o(.bss*)
build/src/libcrypto/aes_api.o(.bss*)
build/src/libcrypto/aes_imp.o(.bss*)
build/src/libcrypto/sha1.o(.bss*)
build/src/libcrypto/bb_nn.o(.bss*)
build/src/libcrypto/poly_math.o(.bss*)
build/src/libcrypto/algorithms.o(.bss*)
build/src/libcrypto/elliptic_math.o(.bss*)
__bss_end = .;
} > sram
_gp = __bss_start + 0x8000 - 0x10;
/DISCARD/ :
{
*(*);
}
}