Skip to content

Commit a373683

Browse files
author
Jorge Aparicio
committed
adapt the thumb target specs to upstream linker-flavor changes
1 parent 33b17fd commit a373683

5 files changed

+16
-15
lines changed

.cargo/config

-11
This file was deleted.

thumbv6m-linux-eabi.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,14 @@
1212
"executables": true,
1313
"features": "+strict-align",
1414
"linker": "arm-none-eabi-gcc",
15+
"linker-flavor": "gcc",
1516
"llvm-target": "thumbv6m-none-eabi",
1617
"max-atomic-width": 0,
1718
"os": "linux",
1819
"panic-strategy": "abort",
19-
"pre-link-args": ["-nostartfiles"],
20+
"pre-link-args": {
21+
"gcc": ["-nostartfiles"]
22+
},
2023
"relocation-model": "static",
2124
"target-endian": "little",
2225
"target-pointer-width": "32",

thumbv7em-linux-eabi.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,14 @@
1111
"env": "",
1212
"executables": true,
1313
"linker": "arm-none-eabi-gcc",
14+
"linker-flavor": "gcc",
1415
"llvm-target": "thumbv7em-none-eabi",
1516
"max-atomic-width": 32,
1617
"os": "linux",
1718
"panic-strategy": "abort",
18-
"pre-link-args": ["-nostartfiles"],
19+
"pre-link-args": {
20+
"gcc": ["-nostartfiles"]
21+
},
1922
"relocation-model": "static",
2023
"target-endian": "little",
2124
"target-pointer-width": "32",

thumbv7em-linux-eabihf.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,14 @@
1212
"executables": true,
1313
"features": "+vfp4,+d16,+fp-only-sp",
1414
"linker": "arm-none-eabi-gcc",
15+
"linker-flavor": "gcc",
1516
"llvm-target": "thumbv7em-none-eabihf",
1617
"max-atomic-width": 32,
1718
"os": "linux",
1819
"panic-strategy": "abort",
19-
"pre-link-args": ["-nostartfiles"],
20+
"pre-link-args": {
21+
"gcc": ["-nostartfiles"]
22+
},
2023
"relocation-model": "static",
2124
"target-endian": "little",
2225
"target-pointer-width": "32",

thumbv7m-linux-eabi.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,14 @@
1111
"env": "",
1212
"executables": true,
1313
"linker": "arm-none-eabi-gcc",
14+
"linker-flavor": "gcc",
1415
"llvm-target": "thumbv7m-none-eabi",
1516
"max-atomic-width": 32,
1617
"os": "linux",
1718
"panic-strategy": "abort",
18-
"pre-link-args": ["-nostartfiles"],
19+
"pre-link-args": {
20+
"gcc": ["-nostartfiles"]
21+
},
1922
"relocation-model": "static",
2023
"target-endian": "little",
2124
"target-pointer-width": "32",

0 commit comments

Comments
 (0)