no libc, start on socket x11
This commit is contained in:
+12
-2
@@ -1,5 +1,15 @@
|
||||
#include "../Display/display.h"
|
||||
|
||||
extern int main(int argc, char *argv[]) {
|
||||
return plr_display_x11_main(argc, argv);
|
||||
__attribute__((force_align_arg_pointer)) __attribute__((noreturn)) extern void
|
||||
_start(void) {
|
||||
|
||||
plr_display_x11_main(0, 0);
|
||||
|
||||
__asm__ volatile("mov $60, %%rax\n\t"
|
||||
"xor %%rdi, %%rdi\n\t"
|
||||
"syscall"
|
||||
:
|
||||
:
|
||||
: "%rax", "%rdi");
|
||||
__builtin_unreachable();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user