Fix build with clang
This commit is contained in:
parent
9377b12f9b
commit
33499036e4
@ -28,10 +28,12 @@
|
||||
|
||||
|
||||
|
||||
.section .text
|
||||
.text
|
||||
.global loader_enter
|
||||
#ifndef __clang__
|
||||
.type loader_enter,@function
|
||||
.type _loader_enter_do,@function
|
||||
#endif
|
||||
loader_enter:
|
||||
/* reset the stack */
|
||||
xor %rbp, %rbp
|
||||
|
@ -28,9 +28,11 @@
|
||||
|
||||
|
||||
|
||||
.section .text
|
||||
.text
|
||||
#ifndef __clang__
|
||||
.global loader_enter
|
||||
.type loader_enter,@function
|
||||
#endif
|
||||
loader_enter:
|
||||
/* reset the stack */
|
||||
xor %ebp, %ebp
|
||||
|
@ -30,8 +30,10 @@
|
||||
|
||||
/* main */
|
||||
.text
|
||||
#ifndef __clang__
|
||||
.global main
|
||||
.type main,@function
|
||||
#endif
|
||||
main:
|
||||
/* puts(argv[0]) */
|
||||
mov (%rsi), %rdi
|
||||
|
Loading…
Reference in New Issue
Block a user