mips: Fix soft-float handling.
Add -msoft-float alongside clang arguments to specify ABI. Specify ABI in asm files explicitly. This trigers asm warning due to gcc failing to propagate -msoft-float but it's tolerable.
This commit is contained in:
parent
7ea452a142
commit
6a4ecd276e
6 changed files with 16 additions and 3 deletions
|
@ -1,8 +1,10 @@
|
|||
|
||||
#include <grub/symbol.h>
|
||||
#include <grub/cpu/kernel.h>
|
||||
|
||||
.set noreorder
|
||||
.set nomacro
|
||||
mips_attributes
|
||||
|
||||
FUNCTION (grub_arch_sync_caches)
|
||||
#include "cache_flush.S"
|
||||
|
@ -65,4 +67,4 @@ FUNCTION (grub_arch_sync_dma_caches)
|
|||
#endif
|
||||
sync_op
|
||||
|
||||
jr $ra
|
||||
jr $ra
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue