summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2003-03-05 03:30:54 +0000
committermarcel <marcel@FreeBSD.org>2003-03-05 03:30:54 +0000
commit55f069454e4e7e49b5d749bba14e2a788bcdf7a1 (patch)
tree97ab120f682ee17cd755a2a5f9c8fc34a7677af1 /lib
parentd196fb7c9c800943eff18711a541e05ae084258a (diff)
downloadFreeBSD-src-55f069454e4e7e49b5d749bba14e2a788bcdf7a1.zip
FreeBSD-src-55f069454e4e7e49b5d749bba14e2a788bcdf7a1.tar.gz
ABI breaker: Move the J_SIGMASK field in the jmpbuf before
the J_SIG0 field. While here, rename J_SIG0 to J_SIGSET and remove J_SIG1. The main reason for this change is that the 128-bit sigset_t is now aligned on a 16-byte boundary, which allows us to use 16-byte atomic loads and stores on CPUs that support it. The removal of J_SIG1 is done to avoid confusion: it is never accessed and should not be. Renaming J_SIG0 to J_SIGSET is the icing on the cake that's better done now than later.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/ia64/gen/setjmp.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/ia64/gen/setjmp.S b/lib/libc/ia64/gen/setjmp.S
index 7b1eb67..a2b56d6 100644
--- a/lib/libc/ia64/gen/setjmp.S
+++ b/lib/libc/ia64/gen/setjmp.S
@@ -50,7 +50,7 @@ ENTRY(setjmp, 1)
;;
mov out0=1 // how = SIG_BLOCK
mov out1=0 // set = NULL
- add out2=J_SIG0,in0 // oset = &jb[J_SIG0]
+ add out2=J_SIGSET,in0 // oset = &jb[J_SIGSET]
br.call.sptk.few rp=__sys_sigprocmask
;;
mov rp=loc1
@@ -68,7 +68,7 @@ ENTRY(__longjmp, 2)
mov loc1=rp
;;
mov out0=3 // how = SIG_SETMASK
- add out1=J_SIG0,in0 // set = &jb[J_SIG0]
+ add out1=J_SIGSET,in0 // set = &jb[J_SIGSET]
mov out2=0 // oset = NULL
br.call.sptk.few rp=__sys_sigprocmask
;;
OpenPOWER on IntegriCloud