From: Heinrich Schuchardt Date: Wed, 27 May 2020 18:04:23 +0000 (+0200) Subject: arm: remove outdated comment concerning -ffixed-x18 X-Git-Tag: v2025.01-rc5-pxa1908~2324^2~8 X-Git-Url: http://git.dujemihanovic.xyz/%7B%7B%20%24style.RelPermalink%20%7D%7D?a=commitdiff_plain;h=b87d8d6a0e0c5c37b341c20284ef1c43601cc9c8;p=u-boot.git arm: remove outdated comment concerning -ffixed-x18 Clang 9 supports -ffixed-x18. Signed-off-by: Heinrich Schuchardt Reviewed-by: Simon Glass --- diff --git a/arch/arm/include/asm/global_data.h b/arch/arm/include/asm/global_data.h index 7c0905d240..2aafc6d206 100644 --- a/arch/arm/include/asm/global_data.h +++ b/arch/arm/include/asm/global_data.h @@ -96,10 +96,6 @@ static inline gd_t *get_gd(void) gd_t *gd_ptr; #ifdef CONFIG_ARM64 - /* - * Make will already error that reserving x18 is not supported at the - * time of writing, clang: error: unknown argument: '-ffixed-x18' - */ __asm__ volatile("mov %0, x18\n" : "=r" (gd_ptr)); #else __asm__ volatile("mov %0, r9\n" : "=r" (gd_ptr));