Skip to content

Commit 94083b4

Browse files
committed
MIPS: boot: Cleanup head.S
- Remove .cprestore which 1. doesn't provide any offset, which causes LLVM's assembler to choke, and 2. is not actually needed since $gp is not written anywhere in this function. - Remove the .start label since it is already defined within the LEAF() macro. Signed-off-by: Paul Cercueil <[email protected]>
1 parent e2dafe0 commit 94083b4

File tree

1 file changed

+2
-3
lines changed
  • arch/mips/boot/compressed

1 file changed

+2
-3
lines changed

arch/mips/boot/compressed/head.S

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@
1616
#include <asm/regdef.h>
1717

1818
.set noreorder
19-
.cprestore
20-
LEAF(start)
21-
start:
19+
20+
LEAF(start)
2221
/* Save boot rom start args */
2322
move s0, a0
2423
move s1, a1

0 commit comments

Comments
 (0)