From 0db7db3f8d1b3689aa525d0010b6ffa73abde850 Mon Sep 17 00:00:00 2001 From: Fenrir Date: Mon, 19 Sep 2016 22:22:54 -0700 Subject: [PATCH] Update 3ds.json --- 3ds.json | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/3ds.json b/3ds.json index 3255f2a..fbdf65d 100644 --- a/3ds.json +++ b/3ds.json @@ -1,30 +1,32 @@ { "data-layout": "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64", "llvm-target": "arm-none-eabihf", - "linker": "arm-none-eabi-g++", + "linker": "arm-none-eabi-gcc", "ar": "arm-none-eabi-ar", "target-endian": "little", "target-pointer-width": "32", "arch": "arm", - "os": "none", + "os": "linux", "cpu": "mpcore", "features": "+vfp2", "relocation-model": "static", - "linker-is-gnu": true, - "has-rpath": true, - "morestack": false, "disable-redzone": true, "executables": true, - "dynamic-linking": false, "no-compiler-rt": true, "exe-suffix": ".elf", - "is-like-windows": true, - "function-sections": false, "pre-link-args": [ - "-specs", - "3dsx.specs", + "-specs=3dsx.specs", "-march=armv6k", "-mtune=mpcore", - "-mfloat-abi=hard" + "-mfloat-abi=hard", + "-mtp=soft" + ], + "post-link-args": [ + "-lc", + "-lm", + "-lsysbase", + "-lc", + "-lgcc", + "-lc" ] }