OSX: fixes to make nlrx64.S with Apple's clang (forgot a few places)

This commit is contained in:
Mikael Eiman 2014-01-04 20:19:19 +01:00
parent 5d02e2d6fa
commit f53cdd947c
1 changed files with 6 additions and 2 deletions

View File

@ -27,7 +27,9 @@ _nlr_push:
movq %rdi, nlr_top(%rip) # stor new nlr_buf (to make linked list)
xorq %rax, %rax # return 0, normal return
ret # return
// .size nlr_push, .-nlr_push
#ifndef __llvm__
.size nlr_push, .-nlr_push
#endif
/* void nlr_pop() */
#ifndef __llvm__
@ -42,7 +44,9 @@ _nlr_pop:
movq (%rax), %rax # load prev nlr_buf
movq %rax, nlr_top(%rip) # store prev nlr_buf (to unlink list)
ret # return
// .size nlr_pop, .-nlr_pop
#ifndef __llvm__
.size nlr_pop, .-nlr_pop
#endif
/* void nlr_jump(rdi=uint val) */
#ifndef __llvm__