adapt the thumb target specs to upstream linker-flavor changes

This commit is contained in:
Jorge Aparicio 2017-04-11 11:32:44 -05:00
parent 33b17fd87b
commit a373683964
5 changed files with 16 additions and 15 deletions

View File

@ -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"]

View File

@ -12,11 +12,14 @@
"executables": true,
"features": "+strict-align",
"linker": "arm-none-eabi-gcc",
"linker-flavor": "gcc",
"llvm-target": "thumbv6m-none-eabi",
"max-atomic-width": 0,
"os": "linux",
"panic-strategy": "abort",
"pre-link-args": ["-nostartfiles"],
"pre-link-args": {
"gcc": ["-nostartfiles"]
},
"relocation-model": "static",
"target-endian": "little",
"target-pointer-width": "32",

View File

@ -11,11 +11,14 @@
"env": "",
"executables": true,
"linker": "arm-none-eabi-gcc",
"linker-flavor": "gcc",
"llvm-target": "thumbv7em-none-eabi",
"max-atomic-width": 32,
"os": "linux",
"panic-strategy": "abort",
"pre-link-args": ["-nostartfiles"],
"pre-link-args": {
"gcc": ["-nostartfiles"]
},
"relocation-model": "static",
"target-endian": "little",
"target-pointer-width": "32",

View File

@ -12,11 +12,14 @@
"executables": true,
"features": "+vfp4,+d16,+fp-only-sp",
"linker": "arm-none-eabi-gcc",
"linker-flavor": "gcc",
"llvm-target": "thumbv7em-none-eabihf",
"max-atomic-width": 32,
"os": "linux",
"panic-strategy": "abort",
"pre-link-args": ["-nostartfiles"],
"pre-link-args": {
"gcc": ["-nostartfiles"]
},
"relocation-model": "static",
"target-endian": "little",
"target-pointer-width": "32",

View File

@ -11,11 +11,14 @@
"env": "",
"executables": true,
"linker": "arm-none-eabi-gcc",
"linker-flavor": "gcc",
"llvm-target": "thumbv7m-none-eabi",
"max-atomic-width": 32,
"os": "linux",
"panic-strategy": "abort",
"pre-link-args": ["-nostartfiles"],
"pre-link-args": {
"gcc": ["-nostartfiles"]
},
"relocation-model": "static",
"target-endian": "little",
"target-pointer-width": "32",