nptl: Add missing cancellation flags on futex_internal and pselect32

It fixes the tst-cancelx{4,5} and tst-cancel24-{static} regression on
some platforms (arm and sparc32).

Checked on arm-linux-gnueabihf and sparcv9-linux-gnu.
This commit is contained in:
Adhemerval Zanella 2020-10-07 15:24:04 -03:00
parent b31d4355ae
commit a04689ee7a
2 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,7 @@
ifeq ($(subdir),nptl)
libpthread-sysdep_routines += errno-loc futex-internal
CFLAGS-futex-internal.c += -fexceptions -fasynchronous-unwind-tables
endif
ifeq ($(subdir),rt)

View File

@ -69,6 +69,7 @@ CFLAGS-vmsplice.c = -fexceptions -fasynchronous-unwind-tables
CFLAGS-splice.c = -fexceptions -fasynchronous-unwind-tables
CFLAGS-open_by_handle_at.c = -fexceptions -fasynchronous-unwind-tables
CFLAGS-sync_file_range.c = -fexceptions -fasynchronous-unwind-tables
CFLAGS-pselect32.c = -fexceptions -fasynchronous-unwind-tables
CFLAGS-tst-writev.c += "-DARTIFICIAL_LIMIT=(0x80000000-sysconf(_SC_PAGESIZE))"
sysdep_headers += sys/mount.h sys/acct.h \