1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-12-23 20:03:43 +01:00

(sigprocmask): Declare as "global" (Intel assembler insists on this).

(siglongjmp_continuation): Avoid GNU assembler local labels.

(Logical change 1.68)
This commit is contained in:
mostang.com!davidm 2003-03-27 04:29:07 +00:00
parent b958b51278
commit 4090e38376

View file

@ -25,7 +25,8 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#define SIG_SETMASK 2
.globl _UI_siglongjmp_cont
.global _UI_siglongjmp_cont
.global sigprocmask
.align 32
.proc siglongjmp_continuation
@ -36,11 +37,11 @@ _UI_siglongjmp_cont: // non-function label for {sig,}longjmp.c
.body
nop 0
nop 0
br.call.sptk.many b6 = 1f
br.call.sptk.many b6 = .next
;;
.prologue
.save ar.pfs, r33
1: alloc loc1 = ar.pfs, 0, 3, 3, 0
.next: alloc loc1 = ar.pfs, 0, 3, 3, 0
/*
* Note: we can use the scratch stack are because the caller
* of sigsetjmp() by definition is not a leaf-procedure.