mips_attributes was introduced to work around clang problems with
-msoft-float. Those problems are now fixed and moreover .gnu_attributes
itself is unportable and creates problem with clang.
Revert "mips: Fix soft-float handling."
This partially reverts commit
6a4ecd276ed39f66be0ad6ff0f8ff67598098605.
#include <grub/offsets.h>
#include <grub/machine/memory.h>
#include <grub/machine/kernel.h>
-#include <grub/cpu/kernel.h>
#include <grub/offsets.h>
#define BASE_ADDR 8
.globl __start, _start, start
.set noreorder
.set nomacro
- mips_attributes
__start:
_start:
start:
#include <grub/symbol.h>
-#include <grub/cpu/kernel.h>
.set noreorder
.set nomacro
- mips_attributes
FUNCTION (grub_arch_sync_caches)
#include "cache_flush.S"
#include <grub/offsets.h>
#include <grub/machine/memory.h>
#include <grub/machine/kernel.h>
-#include <grub/cpu/kernel.h>
#include <grub/offsets.h>
#define BASE_ADDR 8
.globl __start, _start, start
.set noreorder
.set nomacro
- mips_attributes
__start:
_start:
start:
*/
#include <grub/symbol.h>
-#include <grub/cpu/kernel.h>
.p2align 4 /* force 16-byte alignment */
.set noreorder
.set nomacro
- mips_attributes
VARIABLE (grub_relocator_forward_start)
move $a0, $9
#include <grub/symbol.h>
-#ifdef ASM_FILE
-#define mips_attributes .gnu_attribute 4, 3
-#endif
-
#endif /* ! GRUB_KERNEL_MACHINE_HEADER */