X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fsetjmp%2Fx86_64%2Flongjmp.s;h=e175a4b9606bba41eccc8972c22244e533718f0a;hb=a47ad3ebce8e20a5d72535996a0d0d5458241213;hp=dd8935120fecbffa4b6386b7fcc47d49ec11a1f5;hpb=3a17f757a80816961cd1fbf4664a5cbb02563b2d;p=musl diff --git a/src/setjmp/x86_64/longjmp.s b/src/setjmp/x86_64/longjmp.s index dd893512..e175a4b9 100644 --- a/src/setjmp/x86_64/longjmp.s +++ b/src/setjmp/x86_64/longjmp.s @@ -1,8 +1,8 @@ -/* Copyright 2011 Nicholas J. Kain, licensed GNU LGPL 2.1 or later */ +/* Copyright 2011-2012 Nicholas J. Kain, licensed under standard MIT license */ .global _longjmp .global longjmp -.type _longjmp,%function -.type longjmp,%function +.type _longjmp,@function +.type longjmp,@function _longjmp: longjmp: mov %rsi,%rax /* val will be longjmp return */ @@ -20,5 +20,3 @@ longjmp: mov %rdx,%rsp mov 56(%rdi),%rdx /* this is the instruction pointer */ jmp *%rdx /* goto saved address without altering rsp */ -.size _longjmp,.-_longjmp -.size longjmp,.-longjmp