summaryrefslogtreecommitdiff
path: root/crt
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-05-02 21:03:25 -0400
committerRich Felker <dalias@aerifal.cx>2012-05-02 21:03:25 -0400
commitfaab12bececc03ae0472db99504b0fefc0b8e059 (patch)
treef620f906e6f10b0d4095b0732a00b3d90b80c972 /crt
parent83023d1b50297cd2aa0fe4cbd2a0539462bb7c48 (diff)
downloadmusl-faab12bececc03ae0472db99504b0fefc0b8e059.tar.gz
consistency cleanup: removed redundant size suffixed from i386 asm
Diffstat (limited to 'crt')
-rw-r--r--crt/i386/Scrt1.s20
-rw-r--r--crt/i386/crt1.s24
2 files changed, 22 insertions, 22 deletions
diff --git a/crt/i386/Scrt1.s b/crt/i386/Scrt1.s
index b0fbe104..161ee8e8 100644
--- a/crt/i386/Scrt1.s
+++ b/crt/i386/Scrt1.s
@@ -3,13 +3,13 @@
.text
.global _start
_start:
- xorl %ebp,%ebp
- popl %ecx
- movl %esp,%eax
- andl $-16,%esp
- pushl %esp
- pushl %esp
- pushl %edx
+ xor %ebp,%ebp
+ pop %ecx
+ mov %esp,%eax
+ and $-16,%esp
+ push %esp
+ push %esp
+ push %edx
call 1f
1: addl $_GLOBAL_OFFSET_TABLE_,(%esp)
pop %ebx
@@ -17,8 +17,8 @@ _start:
1: addl $[_fini-.],(%esp)
call 1f
1: addl $[_init-.],(%esp)
- pushl %eax
- pushl %ecx
- pushl main@GOT(%ebx)
+ push %eax
+ push %ecx
+ push main@GOT(%ebx)
call __libc_start_main@plt
1: jmp 1b
diff --git a/crt/i386/crt1.s b/crt/i386/crt1.s
index f520745c..f5b4f4fd 100644
--- a/crt/i386/crt1.s
+++ b/crt/i386/crt1.s
@@ -3,17 +3,17 @@
.text
.global _start
_start:
- xorl %ebp,%ebp
- popl %ecx
- movl %esp,%eax
- andl $-16,%esp
- pushl %esp
- pushl %esp
- pushl %edx
- pushl $_fini
- pushl $_init
- pushl %eax
- pushl %ecx
- pushl $main
+ xor %ebp,%ebp
+ pop %ecx
+ mov %esp,%eax
+ and $-16,%esp
+ push %esp
+ push %esp
+ push %edx
+ push $_fini
+ push $_init
+ push %eax
+ push %ecx
+ push $main
call __libc_start_main
1: jmp 1b