Skip to content

Commit adad58f

Browse files
Dragorn421rasky
authored andcommitted
Update n64.ld
1 parent 804f718 commit adad58f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: n64.ld

+3
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ SECTIONS {
3535
. = ALIGN(16);
3636
*(.text)
3737
*(.text.*)
38+
KEEP(*(keep.text.*))
3839
*(.init)
3940
*(.fini)
4041
*(.gnu.linkonce.t.*)
@@ -54,6 +55,7 @@ SECTIONS {
5455
*(.rdata)
5556
*(.rodata)
5657
*(.rodata.*)
58+
KEEP(*(keep.rodata.*))
5759
*(.gnu.linkonce.r.*)
5860
. = ALIGN(8);
5961
}
@@ -100,6 +102,7 @@ SECTIONS {
100102
__data_start = .;
101103
*(.data)
102104
*(.data.*)
105+
KEEP(*(keep.data.*))
103106
*(.gnu.linkonce.d.*)
104107
. = ALIGN(8);
105108
}

0 commit comments

Comments
 (0)