mirror of
https://github.com/u-boot/u-boot.git
synced 2024-12-04 01:53:27 +08:00
arm: remove outdated comment concerning -ffixed-x18
Clang 9 supports -ffixed-x18. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
7f642cb287
commit
b87d8d6a0e
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user