File tree 1 file changed +17
-28
lines changed
1 file changed +17
-28
lines changed Original file line number Diff line number Diff line change 8
8
9
9
SECTIONS
10
10
{
11
-
12
- . = 0x10000000;
13
-
14
11
.init :
15
12
{
16
13
KEEP (*(SORT_NONE(.init)))
@@ -26,11 +23,18 @@ SECTIONS
26
23
*(.interrupt_handler)
27
24
} > RAM_MEM
28
25
29
- .rodata ALIGN (8) :
26
+ .data ALIGN (8) :
30
27
{
31
- *(.rodata)
32
- } > RAM_MEM
33
-
28
+ *(.rodata)
29
+ *(.data)
30
+ . = ALIGN (8);
31
+ PROVIDE (__global_pointer$ = . + 0x800);
32
+ . = ALIGN (8);
33
+ *(.sdata)
34
+ *(.srodata)
35
+ } >RAM_MEM
36
+ PROVIDE (_edata = . );
37
+ PROVIDE (edata = . );
34
38
35
39
.preinit_array ALIGN (8) :
36
40
{
@@ -47,35 +51,20 @@ SECTIONS
47
51
PROVIDE_HIDDEN (__init_array_end = .);
48
52
} > RAM_MEM
49
53
50
-
51
- .data ALIGN (8) :
52
- {
53
- *(.data)
54
- } > RAM_MEM
55
- .sdata ALIGN (8) :
56
- {
57
- PROVIDE ( __global_pointer$ = . + 0x800 );
58
- *(.sdata)
59
- } > RAM_MEM
60
- PROVIDE (_edata = .);
61
-
62
-
63
54
PROVIDE ( __bss_start = . );
64
55
.bss ALIGN (8) :
65
56
{
66
57
*(.sbss)
67
58
*(.bss)
59
+ *(COMMON)
68
60
} > RAM_MEM
69
61
PROVIDE ( __bss_end = . );
70
62
71
-
72
63
PROVIDE (exit = .);
73
- _exit = exit;
74
-
64
+ PROVIDE (_exit = exit);
75
65
76
- PROVIDE ( _end = . );
77
- PROVIDE ( end = . );
66
+ PROVIDE (_end = .);
67
+ PROVIDE (end = .);
78
68
79
- PROVIDE ( _sp = 0x100f0000); /*stack*/
80
-
81
- }
69
+ PROVIDE (_sp = 0x10080000); /*stack*/
70
+ }
You can’t perform that action at this time.
0 commit comments