diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-06-06 20:21:22 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-06-06 20:24:30 +0200 |
commit | 02937d825a71636c13b3f4229e5d6c9e54e327d5 (patch) | |
tree | 822a53b962bde8520f69daf62d8a0d62967a16a1 /sysdeps/mach/hurd/i386/Makefile | |
parent | 8fcc772da8381476e914979fc887fdc54e62b15f (diff) | |
download | glibc-02937d825a71636c13b3f4229e5d6c9e54e327d5.tar.gz glibc-02937d825a71636c13b3f4229e5d6c9e54e327d5.tar.xz glibc-02937d825a71636c13b3f4229e5d6c9e54e327d5.zip |
hurd: fix clearing SS_ONSTACK when longjmp-ing from sighandler
* sysdeps/i386/htl/Makefile: New file. * sysdeps/i386/htl/tcb-offsets.sym: New file. * sysdeps/mach/hurd/i386/Makefile [setjmp] (gen-as-const-headers): Add signal-defines.sym. * sysdeps/mach/hurd/i386/____longjmp_chk.S: Include tcb-offsets.h. (____longjmp_chk): Harmonize with i386's __longjmp. Clear SS_ONSTACK when jumping off the alternate stack. * sysdeps/mach/hurd/i386/__longjmp.S: New file.
Diffstat (limited to 'sysdeps/mach/hurd/i386/Makefile')
-rw-r--r-- | sysdeps/mach/hurd/i386/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/i386/Makefile b/sysdeps/mach/hurd/i386/Makefile index 068f7d0419..495b927b82 100644 --- a/sysdeps/mach/hurd/i386/Makefile +++ b/sysdeps/mach/hurd/i386/Makefile @@ -7,6 +7,10 @@ ifeq ($(subdir),debug) gen-as-const-headers += signal-defines.sym endif +ifeq ($(subdir),setjmp) +gen-as-const-headers += signal-defines.sym +endif + ifeq ($(subdir),csu) ifeq (yes,$(build-shared)) sysdep_routines += divdi3 |