summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/i386/crt0.S
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-12-19 12:48:48 +0000
committerEric Andersen <andersen@codepoet.org>2001-12-19 12:48:48 +0000
commit6a56a9139b3cfd5242652a0135b2341ace43130e (patch)
treee95acf90a32c30232f9c81c83b632a59bb2f370d /libc/sysdeps/linux/i386/crt0.S
parent336f26dbe1cfffd17b465084bd87d027922467da (diff)
Use the asm version by default on x86. Tag _start as a function.
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 */