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, "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",

View File

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

View File

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

View File

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