glibc/sysdeps
Joseph Myers 3785b31c16 Fix hppa local PLT entries for sigprocmask (bug 18124).
When adding/updating localplt.data for various architectures to get
the compilation tests passing everywhere, I generally made it reflect
the existing state of what local PLT entries were actually seen,
rather than an ideal state with as few as possible such entries,
mainly for functions that are intended to be interposable.

This patch eliminates some local PLT entries for hppa by using
__sigprocmask instead of sigprocmask in getcontext and setcontext.
The specific case of sigprocmask called by setcontext is the third of
four items in bug 18124 (the other three have already been fixed for
2.26 or earlier releases).  Note that hppa-specific localplt.data
entries for __sigsetjmp, _IO_funlockfile and __errno_location remain,
but the causes / fixes are less immediately obvious from source
inspection.

Tested (compilation tests only) with build-many-glibcs.py for
hppa-linux-gnu.

	[BZ #18124]
	* sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
	(setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
	* sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
	__sigprocmask instead of sigprocmask.
	* sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
	Likewise.
	* sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
	__sigsetjmp and sigprocmask.
2018-02-15 21:01:25 +00:00
..
aarch64 [AArch64] Fix include. 2018-02-15 12:41:06 +00:00
alpha
arm
generic Remove slow paths from exp 2018-02-12 11:33:33 +00:00
gnu
hppa
i386 Remove mplog and mpexp 2018-02-15 12:41:05 +00:00
ia64 Remove mplog and mpexp 2018-02-15 12:41:05 +00:00
ieee754 Remove mplog and mpexp 2018-02-15 12:41:05 +00:00
init_array
m68k Remove mplog and mpexp 2018-02-15 12:41:05 +00:00
mach Add narrowing add functions. 2018-02-10 02:08:43 +00:00
microblaze
mips
nios2
nptl
posix Fix -Os feof_unlocked linknamespace, localplt issues (bug 15105, bug 19463). 2018-02-15 20:57:15 +00:00
powerpc powerpc: Update pow() ULPs 2018-02-12 13:23:03 -02:00
pthread
riscv
s390 S390: Regenerate ULPs. 2018-02-15 09:06:18 +01:00
sh Update SH libm-tests-ulps 2018-02-14 14:03:40 -02:00
sparc
tile
unix Fix hppa local PLT entries for sigprocmask (bug 18124). 2018-02-15 21:01:25 +00:00
wordsize-32
wordsize-64
x86
x86_64 Remove mplog and mpexp 2018-02-15 12:41:05 +00:00