From af98b63aa1d96dea78def996b0b2d3a1b1b6fa4c Mon Sep 17 00:00:00 2001 From: Lokathor Date: Wed, 22 Jan 2020 12:25:20 -0700 Subject: [PATCH] Add a pre-link-args-crt entry Per discussion/findings in https://github.com/rust-console/gba/issues/90 --- thumbv4-none-agb.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/thumbv4-none-agb.json b/thumbv4-none-agb.json index 5aece43..d1de486 100644 --- a/thumbv4-none-agb.json +++ b/thumbv4-none-agb.json @@ -21,6 +21,11 @@ "llvm-target": "thumbv4-none-agb", "os": "none", "panic-strategy": "abort", + "pre-link-args-crt": { + "ld": [ + "crt0.o" + ] + }, "pre-link-args": { "ld": [ "-Tlinker.ld" @@ -31,4 +36,4 @@ "target-endian": "little", "target-pointer-width": "32", "vendor": "nintendo" -} \ No newline at end of file +}