File tree Expand file tree Collapse file tree 1 file changed +6
-12
lines changed Expand file tree Collapse file tree 1 file changed +6
-12
lines changed Original file line number Diff line number Diff line change @@ -20,19 +20,13 @@ PROVIDE(__pre_init = default_pre_init);
20
20
*/
21
21
PROVIDE (_mp_hook = default_mp_hook );
22
22
23
- PHDRS
24
- {
25
- load PT_LOAD;
26
- ram_load PT_LOAD;
27
- virtual PT_NULL;
28
- }
29
-
30
23
SECTIONS
31
24
{
32
- .text.dummy ORIGIN (REGION_TEXT ) :
25
+ .text.dummy (NOLOAD ) :
33
26
{
34
27
/* This section is intended to make _stext address work */
35
- } > REGION_TEXT :virtual
28
+ . = _stext;
29
+ } > REGION_TEXT
36
30
37
31
.text _stext :
38
32
{
@@ -45,7 +39,7 @@ SECTIONS
45
39
KEEP(*(.trap.rust));
46
40
47
41
*(.text .text.*);
48
- } > REGION_TEXT :load
42
+ } > REGION_TEXT
49
43
50
44
.rodata : ALIGN (4)
51
45
{
@@ -55,7 +49,7 @@ SECTIONS
55
49
This is required by LLD to ensure the LMA of the following .data
56
50
section will have the correct alignment. */
57
51
. = ALIGN (4);
58
- } > REGION_RODATA :load
52
+ } > REGION_RODATA
59
53
60
54
.data : ALIGN (4)
61
55
{
@@ -67,7 +61,7 @@ SECTIONS
67
61
*(.data .data.*);
68
62
. = ALIGN (4);
69
63
_edata = .;
70
- } > REGION_DATA AT > REGION_RODATA :ram_load
64
+ } > REGION_DATA AT > REGION_RODATA
71
65
72
66
.bss (NOLOAD) :
73
67
{
You can’t perform that action at this time.
0 commit comments