Commit f53cdd94 authored by Mikael Eiman's avatar Mikael Eiman
Browse files

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

parent 5d02e2d6
......@@ -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__
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment