summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/i386/crt0.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/i386/crt0.S')
-rw-r--r--libc/sysdeps/linux/i386/crt0.S7
1 files changed, 5 insertions, 2 deletions
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 */