diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-01-27 22:00:23 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-01-27 22:00:23 +0100 |
commit | 06fac9f50335a5669672c4ac9ca93e5f43288822 (patch) | |
tree | b014ca127c3ab92a3af2ec021d5931686bc568eb /sysdeps | |
parent | f4d3cee3a00211b346620f88abc5cb81c318cabe (diff) | |
download | glibc-06fac9f50335a5669672c4ac9ca93e5f43288822.zip glibc-06fac9f50335a5669672c4ac9ca93e5f43288822.tar.gz glibc-06fac9f50335a5669672c4ac9ca93e5f43288822.tar.bz2 |
hurd: fix warning
* sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
__task_terminate would ever return successfully.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/mach/hurd/dl-sysdep.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/dl-sysdep.c b/sysdeps/mach/hurd/dl-sysdep.c index 2cd63bb..ef96df0 100644 --- a/sysdeps/mach/hurd/dl-sysdep.c +++ b/sysdeps/mach/hurd/dl-sysdep.c @@ -643,6 +643,9 @@ _exit (int status) W_EXITCODE (status, 0), 0); while (__task_terminate (__mach_task_self ())) __mach_task_self_ = (__mach_task_self) (); + + LOSE; + abort (); } /* We need this alias to satisfy references from libc_pic.a objects that were affected by the libc_hidden_proto declaration for _exit. */ |