From cc669360fd662f3b6d801df4a1df595bd9e180b3 Mon Sep 17 00:00:00 2001 From: Aleksa Vučković Date: Sat, 22 Jan 2022 01:11:37 +0100 Subject: Fixing all-target-libgcc make error --- files/crt0.s | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 files/crt0.s (limited to 'files/crt0.s') diff --git a/files/crt0.s b/files/crt0.s deleted file mode 100644 index 8c735f1..0000000 --- a/files/crt0.s +++ /dev/null @@ -1,31 +0,0 @@ -.section .text - -.global _start -_start: - # Set up end of the stack frame linked list. - movl $0, %ebp - pushl %ebp # rip=0 - pushl %ebp # rbp=0 - movl %esp, %ebp - - # We need those in a moment when we call main. - pushl %esi - pushl %edi - - # Prepare signals, memory allocation, stdio and such. -# call initialize_standard_library - - # Run the global constructors. - call _init - - # Restore argc and argv. - popl %edi - popl %esi - - # Run main - call main - - # Terminate the process with the exit code. - movl %eax, %edi -# call exit -.size _start, . - _start -- cgit v1.2.3