提交 faab12be 编写于 作者: R Rich Felker

consistency cleanup: removed redundant size suffixed from i386 asm

上级 83023d1b
...@@ -3,13 +3,13 @@ ...@@ -3,13 +3,13 @@
.text .text
.global _start .global _start
_start: _start:
xorl %ebp,%ebp xor %ebp,%ebp
popl %ecx pop %ecx
movl %esp,%eax mov %esp,%eax
andl $-16,%esp and $-16,%esp
pushl %esp push %esp
pushl %esp push %esp
pushl %edx push %edx
call 1f call 1f
1: addl $_GLOBAL_OFFSET_TABLE_,(%esp) 1: addl $_GLOBAL_OFFSET_TABLE_,(%esp)
pop %ebx pop %ebx
...@@ -17,8 +17,8 @@ _start: ...@@ -17,8 +17,8 @@ _start:
1: addl $[_fini-.],(%esp) 1: addl $[_fini-.],(%esp)
call 1f call 1f
1: addl $[_init-.],(%esp) 1: addl $[_init-.],(%esp)
pushl %eax push %eax
pushl %ecx push %ecx
pushl main@GOT(%ebx) push main@GOT(%ebx)
call __libc_start_main@plt call __libc_start_main@plt
1: jmp 1b 1: jmp 1b
...@@ -3,17 +3,17 @@ ...@@ -3,17 +3,17 @@
.text .text
.global _start .global _start
_start: _start:
xorl %ebp,%ebp xor %ebp,%ebp
popl %ecx pop %ecx
movl %esp,%eax mov %esp,%eax
andl $-16,%esp and $-16,%esp
pushl %esp push %esp
pushl %esp push %esp
pushl %edx push %edx
pushl $_fini push $_fini
pushl $_init push $_init
pushl %eax push %eax
pushl %ecx push %ecx
pushl $main push $main
call __libc_start_main call __libc_start_main
1: jmp 1b 1: jmp 1b
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册