From ae5260db5c745a33a44d5037496f0dc43bcf4517 Mon Sep 17 00:00:00 2001 From: equation314 Date: Mon, 29 Oct 2018 21:34:29 +0800 Subject: [PATCH] aarch64: change linker to rust-lld --- kernel/aarch64-blog_os.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/aarch64-blog_os.json b/kernel/aarch64-blog_os.json index 8c9ab02..e3f80a0 100644 --- a/kernel/aarch64-blog_os.json +++ b/kernel/aarch64-blog_os.json @@ -10,11 +10,11 @@ "arch": "aarch64", "data-layout": "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128", "executables": true, - "linker": "aarch64-none-elf-ld", - "linker-flavor": "ld", + "linker": "rust-lld", + "linker-flavor": "ld.lld", "linker-is-gnu": true, "pre-link-args": { - "ld": [ + "ld.lld": [ "-Tsrc/arch/aarch64/boot/linker.ld" ] },