riscv32: change linker to rust-lld

master
equation314 6 years ago
parent ae5260db5c
commit 001254fd64

@ -9,10 +9,10 @@
"cpu": "generic-rv32", "cpu": "generic-rv32",
"features": "", "features": "",
"max-atomic-width": "32", "max-atomic-width": "32",
"linker": "riscv64-unknown-elf-ld", "linker": "rust-lld",
"linker-flavor": "ld", "linker-flavor": "ld.lld",
"pre-link-args": { "pre-link-args": {
"ld": [ "ld.lld": [
"-Tsrc/arch/riscv32/boot/linker.ld", "-Tsrc/arch/riscv32/boot/linker.ld",
"-melf32lriscv" "-melf32lriscv"
] ]
@ -33,4 +33,4 @@
"msp430-interrupt", "msp430-interrupt",
"x86-interrupt" "x86-interrupt"
] ]
} }

Loading…
Cancel
Save