Skip to content

Commit c690db4

Browse files
committed
Remove obsolete crt0 references in linker script
1 parent 7f88049 commit c690db4

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

compiler/rustc_target/src/spec/aarch64_nintendo_switch_linker_script.ld

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,8 @@ SECTIONS
3030
. = ALIGN(0x1000);
3131

3232
.module_name : { *(.module_name) } :rodata
33-
33+
3434
.rodata : { *(.rodata .rodata.*) } :rodata
35-
.mod0 : {
36-
KEEP(crt0.nso.o(.data.mod0))
37-
KEEP(crt0.nro.o(.data.mod0))
38-
KEEP(crt0.lib.nro.o(.data.mod0))
39-
}
4035
.hash : { *(.hash) }
4136
.dynsym : { *(.dynsym .dynsym.*) }
4237
.dynstr : { *(.dynstr .dynstr.*) }

0 commit comments

Comments
 (0)