summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libc/sysdeps/linux/i386/Makefile2
-rw-r--r--libc/sysdeps/linux/i386/crt0.S7
2 files changed, 6 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/i386/Makefile b/libc/sysdeps/linux/i386/Makefile
index 822134ba9..531c78df9 100644
--- a/libc/sysdeps/linux/i386/Makefile
+++ b/libc/sysdeps/linux/i386/Makefile
@@ -20,7 +20,7 @@
# other sundry sources. Files within this library are copyright by their
# respective copyright holders.
-USE_CRT0_C=true
+USE_CRT0_C=false
TOPDIR=../../../../
include $(TOPDIR)Rules.mak
diff --git a/libc/sysdeps/linux/i386/crt0.S b/libc/sysdeps/linux/i386/crt0.S
index 0095e6c67..6b4d424ef 100644
--- a/libc/sysdeps/linux/i386/crt0.S
+++ b/libc/sysdeps/linux/i386/crt0.S
@@ -30,9 +30,12 @@ Cambridge, MA 02139, USA. */
NULL
*/
-.global _start
-
.text
+ .align 4
+
+.globl _start
+ .type _start,@function
+
_start:
/* First locate the start of the environment variables */
popl %ecx /* Store argc into %ecx */