From 5e17a480f83061a0dd0228b7e6415520f3136f94 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Tue, 3 Apr 2018 23:00:14 +0200 Subject: Revert parts of "hurd: Avoid more libc.so local PLTs" This reverts parts of commit 82dbf555a4d41690f63b94ccb4db4bf43d873aa0. --- hurd/catch-signal.c | 4 ++-- hurd/hurdfault.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'hurd') diff --git a/hurd/catch-signal.c b/hurd/catch-signal.c index a00ccef4fb..56ce86532d 100644 --- a/hurd/catch-signal.c +++ b/hurd/catch-signal.c @@ -32,7 +32,7 @@ __hurd_catch_signal (sigset_t sigset, instance calling hurd_catch_signal again would then dump core. */ sigjmp_buf buf; void throw (int signo, long int sigcode, struct sigcontext *scp) - { __libc_siglongjmp (buf, scp->sc_error ?: EGRATUITOUS); } + { siglongjmp (buf, scp->sc_error ?: EGRATUITOUS); } struct hurd_signal_preemptor preemptor = { @@ -121,7 +121,7 @@ hurd_safe_memmove (void *dest, const void *src, size_t nbytes) { jmp_buf buf; void throw (int signo, long int sigcode, struct sigcontext *scp) - { __libc_longjmp (buf, scp->sc_error ?: EGRATUITOUS); } + { longjmp (buf, scp->sc_error ?: EGRATUITOUS); } struct hurd_signal_preemptor src_preemptor = { diff --git a/hurd/hurdfault.c b/hurd/hurdfault.c index c42d5e739a..39a4522811 100644 --- a/hurd/hurdfault.c +++ b/hurd/hurdfault.c @@ -152,7 +152,7 @@ faulted (void) __libc_fatal ("BUG: unexpected fault in signal thread\n"); _hurdsig_fault_preemptor.signals = 0; - __libc_longjmp (_hurdsig_fault_env, 1); + longjmp (_hurdsig_fault_env, 1); } static char faultstack[1024]; -- cgit 1.4.1