Skip to content

Commit 6cd508e

Browse files
committed
Use rx-elf-ld as the linker
1 parent a205a33 commit 6cd508e

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

config.sh

-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ if [[ "$HOST_TRIPLE" != "$TARGET_TRIPLE" ]]; then
3434
elif [[ "$TARGET_TRIPLE" == "rx-elf" ]]; then
3535
TARGET_TRIPLE="rx-none-elf"
3636
TARGET_SPEC="$(pwd)/rx-none-elf.json"
37-
linker='-Clinker=rx-elf-gcc'
3837
export CC_${TARGET_TRIPLE//-/_}="rx-elf-gcc"
3938
elif [[ "$TARGET_TRIPLE" == "aarch64-unknown-linux-gnu" ]]; then
4039
# We are cross-compiling for aarch64. Use the correct linker and run tests in qemu.

rx-none-elf.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"emit-debug-gdb-scripts": false,
66
"executables": true,
77
"frame-pointer": "always",
8-
"linker": "rx-elf-gcc",
9-
"linker-flavor": "gcc",
8+
"linker": "rx-elf-ld",
9+
"linker-flavor": "ld",
1010
"llvm-target": "thumbv7m-none-eabi",
1111
"max-atomic-width": 32,
1212
"panic-strategy": "abort",

0 commit comments

Comments
 (0)