File tree 2 files changed +6
-10
lines changed
2 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -2,9 +2,7 @@ ENTRY(ram64_start)
2
2
3
3
PHDRS
4
4
{
5
- rodata PT_LOAD FILEHDR PHDRS ;
6
- data PT_LOAD ;
7
- text PT_LOAD ;
5
+ program PT_LOAD FILEHDR PHDRS ;
8
6
}
9
7
10
8
/* Loaders like to put stuff in low memory (< 1M), so we don't use it. */
@@ -19,12 +17,10 @@ SECTIONS
19
17
. = ram_min;
20
18
. += SIZEOF_HEADERS ;
21
19
22
- .rodata : { *(.rodata .rodata.*) } :rodata
23
- .data : { *(.data .data.*) *(.bss .bss.*) } :data
24
- .text : {
25
- *(.text .text.*)
26
- *(.ram64)
27
- } :text
20
+ .rodata : { *(.rodata .rodata.*) } :program
21
+ .text : { *(.text .text.*) } :program
22
+ .data : { *(.data .data.*) } :program
23
+ .bss : { *(.bss .bss.*) } :program
28
24
29
25
firmware_ram_size = . - ram_min;
30
26
Original file line number Diff line number Diff line change 1
- .section .ram64 , "ax"
1
+ .section .text , "ax"
2
2
.global ram64_start
3
3
.code64
4
4
You can’t perform that action at this time.
0 commit comments