From 1a369ff3bf4a1dafbeb7a1856a3ee46c66d0a69f Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Thu, 12 Oct 2023 18:57:54 +0100 Subject: [PATCH] preinit: remove no-longer-used mips assembly --- pkgs/preinit/preinit.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/pkgs/preinit/preinit.c b/pkgs/preinit/preinit.c index e8f4e76..febb8b2 100644 --- a/pkgs/preinit/preinit.c +++ b/pkgs/preinit/preinit.c @@ -39,9 +39,6 @@ char buf[COMMAND_LINE_SIZE]; int main(int argc, char *argv[], char *envp[]) { -#ifndef PREINIT_USE_LIBC - asm("la $gp, _gp\nsw $gp,16($sp)"); -#endif char *rootdevice = 0; char *p = buf; write(1, banner, strlen(banner));