Skip to content

Commit 2e36b4a

Browse files
committed
update riscv64/link.lds: update (.text*) (.rodata*) wildcard.
1 parent b03b7cc commit 2e36b4a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

linker_scripts/riscv64/link.lds

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ SECTIONS
2323
{
2424
__text_start__ = .;
2525
*(.start);
26-
*(.text) /* remaining code */
26+
*(.text*) /* remaining code */
2727

2828
KEEP(*(.init))
2929
KEEP(*(.fini))
@@ -42,7 +42,7 @@ SECTIONS
4242
*(SORT(.dtors.*))
4343
*(.dtors)
4444

45-
*(.rodata) /* read-only data (constants) */
45+
*(.rodata*) /* read-only data (constants) */
4646

4747
KEEP(*(.eh_frame*))
4848

0 commit comments

Comments
 (0)