mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-15 20:58:13 +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:
parent
b958b51278
commit
4090e38376
1 changed files with 4 additions and 3 deletions
|
@ -25,7 +25,8 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
|
|
||||||
#define SIG_SETMASK 2
|
#define SIG_SETMASK 2
|
||||||
|
|
||||||
.globl _UI_siglongjmp_cont
|
.global _UI_siglongjmp_cont
|
||||||
|
.global sigprocmask
|
||||||
|
|
||||||
.align 32
|
.align 32
|
||||||
.proc siglongjmp_continuation
|
.proc siglongjmp_continuation
|
||||||
|
@ -36,11 +37,11 @@ _UI_siglongjmp_cont: // non-function label for {sig,}longjmp.c
|
||||||
.body
|
.body
|
||||||
nop 0
|
nop 0
|
||||||
nop 0
|
nop 0
|
||||||
br.call.sptk.many b6 = 1f
|
br.call.sptk.many b6 = .next
|
||||||
;;
|
;;
|
||||||
.prologue
|
.prologue
|
||||||
.save ar.pfs, r33
|
.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
|
* Note: we can use the scratch stack are because the caller
|
||||||
* of sigsetjmp() by definition is not a leaf-procedure.
|
* of sigsetjmp() by definition is not a leaf-procedure.
|
||||||
|
|
Loading…
Reference in a new issue