Displaying 1 result from an estimated 1 matches for "47d7d8f".
Did you mean:
47d7d8fd
2019 Jan 18
0
[klibc:master] mips/mips64: simplify crt0 code
...off-by: Ben Hutchings <ben at decadent.org.uk>
---
usr/klibc/arch/mips/crt0.S | 13 +++++--------
usr/klibc/arch/mips64/crt0.S | 20 +++++---------------
2 files changed, 10 insertions(+), 23 deletions(-)
diff --git a/usr/klibc/arch/mips/crt0.S b/usr/klibc/arch/mips/crt0.S
index 142d9f2..47d7d8f 100644
--- a/usr/klibc/arch/mips/crt0.S
+++ b/usr/klibc/arch/mips/crt0.S
@@ -10,16 +10,13 @@
#include <machine/asm.h>
-NESTED(__start, 32, sp)
- subu sp, 32
- sw zero, 16(sp)
-
- lui gp, %hi(_gp) # Initialize gp
- addiu gp, gp, _gp
-
- addiu a0, sp, 32 # Pointer to ELF entry structure...