]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: remove outdated comment concerning -ffixed-x18
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 27 May 2020 18:04:23 +0000 (20:04 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 7 Jul 2020 22:23:48 +0000 (18:23 -0400)
Clang 9 supports -ffixed-x18.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/include/asm/global_data.h

index 7c0905d240eb4fde666929ed2c5d5ee5f6e37894..2aafc6d2062e96ed78a14c650fc8dc477f5caaef 100644 (file)
@@ -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));