mirror of
https://github.com/devkitPro/wut.git
synced 2026-09-10 12:16:03 -05:00
Fix .rodata.rplNames being included in .rodata section.
This commit is contained in:
14
rules/rpl.ld
14
rules/rpl.ld
@@ -35,13 +35,6 @@ SECTIONS {
|
||||
*(.rplTramp.text)
|
||||
*(SORT(.rplTramp.text.*))
|
||||
}
|
||||
|
||||
/* Standard data sections */
|
||||
. = ORIGIN(data);
|
||||
|
||||
.rodata . : { *(.rodata .rodata.*) }
|
||||
.data . : { *(.data) }
|
||||
.bss . : { *(.bss) }
|
||||
|
||||
/* System stuff is for our elf2rpl converter to go through */
|
||||
. = ORIGIN(system);
|
||||
@@ -63,4 +56,11 @@ SECTIONS {
|
||||
* uint32_t trampAddress
|
||||
*/
|
||||
.data.rplFuncStubs . : { KEEP (*(.data.rplFuncStubs)) }
|
||||
|
||||
/* Standard data sections */
|
||||
. = ORIGIN(data);
|
||||
|
||||
.rodata . : { *(.rodata .rodata.*) }
|
||||
.data . : { *(.data) }
|
||||
.bss . : { *(.bss) }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user