File tree Expand file tree Collapse file tree 2 files changed +34
-0
lines changed
components/bl602/bl602/evb/ld Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Original file line number Diff line number Diff line change @@ -67,6 +67,23 @@ SECTIONS
67
67
68
68
*(.gnu.linkonce.r.*)
69
69
} > flash
70
+
71
+ .preinit_array :
72
+ {
73
+ . = ALIGN (4);
74
+ __preinit_array_start = .;
75
+ KEEP (*(.preinit_array))
76
+ __preinit_array_end = .;
77
+ } > flash
78
+
79
+ .init_array :
80
+ {
81
+ . = ALIGN (4);
82
+ __init_array_start = .;
83
+ KEEP (*(SORT_BY_INIT_PRIORITY(.init_array.*)))
84
+ KEEP (*(.init_array))
85
+ __init_array_end = .;
86
+ } > flash
70
87
71
88
/*put wifibss in the first place*/
72
89
.wifibss (NOLOAD) :
Original file line number Diff line number Diff line change @@ -23,6 +23,23 @@ SECTIONS
23
23
*(.text .text.*)
24
24
*(.gnu.linkonce.t.*)
25
25
} >ram
26
+
27
+ .preinit_array :
28
+ {
29
+ . = ALIGN (4);
30
+ __preinit_array_start = .;
31
+ KEEP (*(.preinit_array))
32
+ __preinit_array_end = .;
33
+ } > ram
34
+
35
+ .init_array :
36
+ {
37
+ . = ALIGN (4);
38
+ __init_array_start = .;
39
+ KEEP (*(SORT_BY_INIT_PRIORITY(.init_array.*)))
40
+ KEEP (*(.init_array))
41
+ __init_array_end = .;
42
+ } > ram
26
43
27
44
.rodata :
28
45
{
You can’t perform that action at this time.
0 commit comments