* sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
use PLT to call _hurd_self_sigstate.
__thread_switch, __evc_wait): Move declarations to...
* sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
attribute_hidden.
+ * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
+ use PLT to call _hurd_self_sigstate.
2018-06-13 Joseph Myers <joseph@codesourcery.com>
/* TODO: need locking? */
/* struct hurd_sigstate * _hurd_self_sigstate (void) */
-#ifdef PIC
- call 1f
-1: popl %ebx
- addl $_GLOBAL_OFFSET_TABLE_+[.-1b], %ebx
-#endif
- call JUMPTARGET(_hurd_self_sigstate)
+ call _hurd_self_sigstate
/* TODO: %eax and %eax->sigaltstack are always valid? */
testl $SS_ONSTACK, (HURD_SIGSTATE__SIGALTSTACK__OFFSET + SIGALTSTACK__SS_FLAGS__OFFSET)(%eax)