Now using rustc's bultin mipsel-sony-psx target.

This commit is contained in:
2022-11-07 18:14:22 +00:00
parent eda5901341
commit 89412e90b7
3 changed files with 8 additions and 22 deletions

View File

@@ -1,8 +1,9 @@
[build]
dep-info-basedir = ".."
target = "mipsel-sony-psx.json"
target = "mipsel-sony-psx"
rustflags = ["-Crelocation-model=static", "-Cdefault-linker-libraries=no"]
[target."mipsel-sony-psx.json"]
[target."mipsel-sony-psx"]
linker = "mips-elf-ld"
[unstable]

View File

@@ -1,18 +0,0 @@
{
"arch": "mips",
"cpu": "mips1",
"data-layout": "e-m:m-p:32:32-i8:8:32-i16:16:32-i32:32-n32-S32",
"emit-debug-gdb-scripts": false,
"executables": false,
"features": "+soft-float,+noabicalls",
"linker": "rust-lld",
"linker-flavor": "ld.lld",
"llvm-target": "mipsel-unknown-none",
"relocation-model": "static",
"target-pointer-width": "32",
"panic-strategy": "abort",
"singlethread": true,
"dynamic-linking": false,
"function-sections": true,
"trap-unreachable": false
}