adapt the thumb target specs to upstream linker-flavor changes
This commit is contained in:
parent
33b17fd87b
commit
a373683964
|
@ -1,11 +0,0 @@
|
||||||
[target.thumbv6m-none-eabi]
|
|
||||||
rustflags = ["-C", "link-arg=-nostartfiles"]
|
|
||||||
|
|
||||||
[target.thumbv7m-none-eabi]
|
|
||||||
rustflags = ["-C", "link-arg=-nostartfiles"]
|
|
||||||
|
|
||||||
[target.thumbv7em-none-eabi]
|
|
||||||
rustflags = ["-C", "link-arg=-nostartfiles"]
|
|
||||||
|
|
||||||
[target.thumbv7em-none-eabihf]
|
|
||||||
rustflags = ["-C", "link-arg=-nostartfiles"]
|
|
|
@ -12,11 +12,14 @@
|
||||||
"executables": true,
|
"executables": true,
|
||||||
"features": "+strict-align",
|
"features": "+strict-align",
|
||||||
"linker": "arm-none-eabi-gcc",
|
"linker": "arm-none-eabi-gcc",
|
||||||
|
"linker-flavor": "gcc",
|
||||||
"llvm-target": "thumbv6m-none-eabi",
|
"llvm-target": "thumbv6m-none-eabi",
|
||||||
"max-atomic-width": 0,
|
"max-atomic-width": 0,
|
||||||
"os": "linux",
|
"os": "linux",
|
||||||
"panic-strategy": "abort",
|
"panic-strategy": "abort",
|
||||||
"pre-link-args": ["-nostartfiles"],
|
"pre-link-args": {
|
||||||
|
"gcc": ["-nostartfiles"]
|
||||||
|
},
|
||||||
"relocation-model": "static",
|
"relocation-model": "static",
|
||||||
"target-endian": "little",
|
"target-endian": "little",
|
||||||
"target-pointer-width": "32",
|
"target-pointer-width": "32",
|
||||||
|
|
|
@ -11,11 +11,14 @@
|
||||||
"env": "",
|
"env": "",
|
||||||
"executables": true,
|
"executables": true,
|
||||||
"linker": "arm-none-eabi-gcc",
|
"linker": "arm-none-eabi-gcc",
|
||||||
|
"linker-flavor": "gcc",
|
||||||
"llvm-target": "thumbv7em-none-eabi",
|
"llvm-target": "thumbv7em-none-eabi",
|
||||||
"max-atomic-width": 32,
|
"max-atomic-width": 32,
|
||||||
"os": "linux",
|
"os": "linux",
|
||||||
"panic-strategy": "abort",
|
"panic-strategy": "abort",
|
||||||
"pre-link-args": ["-nostartfiles"],
|
"pre-link-args": {
|
||||||
|
"gcc": ["-nostartfiles"]
|
||||||
|
},
|
||||||
"relocation-model": "static",
|
"relocation-model": "static",
|
||||||
"target-endian": "little",
|
"target-endian": "little",
|
||||||
"target-pointer-width": "32",
|
"target-pointer-width": "32",
|
||||||
|
|
|
@ -12,11 +12,14 @@
|
||||||
"executables": true,
|
"executables": true,
|
||||||
"features": "+vfp4,+d16,+fp-only-sp",
|
"features": "+vfp4,+d16,+fp-only-sp",
|
||||||
"linker": "arm-none-eabi-gcc",
|
"linker": "arm-none-eabi-gcc",
|
||||||
|
"linker-flavor": "gcc",
|
||||||
"llvm-target": "thumbv7em-none-eabihf",
|
"llvm-target": "thumbv7em-none-eabihf",
|
||||||
"max-atomic-width": 32,
|
"max-atomic-width": 32,
|
||||||
"os": "linux",
|
"os": "linux",
|
||||||
"panic-strategy": "abort",
|
"panic-strategy": "abort",
|
||||||
"pre-link-args": ["-nostartfiles"],
|
"pre-link-args": {
|
||||||
|
"gcc": ["-nostartfiles"]
|
||||||
|
},
|
||||||
"relocation-model": "static",
|
"relocation-model": "static",
|
||||||
"target-endian": "little",
|
"target-endian": "little",
|
||||||
"target-pointer-width": "32",
|
"target-pointer-width": "32",
|
||||||
|
|
|
@ -11,11 +11,14 @@
|
||||||
"env": "",
|
"env": "",
|
||||||
"executables": true,
|
"executables": true,
|
||||||
"linker": "arm-none-eabi-gcc",
|
"linker": "arm-none-eabi-gcc",
|
||||||
|
"linker-flavor": "gcc",
|
||||||
"llvm-target": "thumbv7m-none-eabi",
|
"llvm-target": "thumbv7m-none-eabi",
|
||||||
"max-atomic-width": 32,
|
"max-atomic-width": 32,
|
||||||
"os": "linux",
|
"os": "linux",
|
||||||
"panic-strategy": "abort",
|
"panic-strategy": "abort",
|
||||||
"pre-link-args": ["-nostartfiles"],
|
"pre-link-args": {
|
||||||
|
"gcc": ["-nostartfiles"]
|
||||||
|
},
|
||||||
"relocation-model": "static",
|
"relocation-model": "static",
|
||||||
"target-endian": "little",
|
"target-endian": "little",
|
||||||
"target-pointer-width": "32",
|
"target-pointer-width": "32",
|
||||||
|
|
Loading…
Reference in New Issue