File tree Expand file tree Collapse file tree 2 files changed +6
-10
lines changed Expand file tree Collapse file tree 2 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -2,9 +2,7 @@ ENTRY(ram64_start)
22
33PHDRS
44{
5- rodata PT_LOAD FILEHDR PHDRS ;
6- data PT_LOAD ;
7- text PT_LOAD ;
5+ program PT_LOAD FILEHDR PHDRS ;
86}
97
108/* Loaders like to put stuff in low memory (< 1M), so we don't use it. */
@@ -19,12 +17,10 @@ SECTIONS
1917 . = ram_min;
2018 . += SIZEOF_HEADERS ;
2119
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
2824
2925 firmware_ram_size = . - ram_min;
3026
Original file line number Diff line number Diff line change 1- .section .ram64 , "ax"
1+ .section .text , "ax"
22.global ram64_start
33.code64
44
You can’t perform that action at this time.
0 commit comments