diff options
author | Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org> | 2015-06-02 21:04:06 +0300 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2015-06-10 10:18:12 +0000 |
commit | 78ad175b3060aae058ed5d05ced2bc58714901cd (patch) | |
tree | 96cd466fb01d8b105801e4a7093a42f8a05e0908 /nptl/pt-interp.c | |
parent | ac63a0783cdee8454c84fc45f37330d98b6039e7 (diff) | |
download | glibc-78ad175b3060aae058ed5d05ced2bc58714901cd.zip glibc-78ad175b3060aae058ed5d05ced2bc58714901cd.tar.gz glibc-78ad175b3060aae058ed5d05ced2bc58714901cd.tar.bz2 |
nptl: restore .interp section in libpthread.so
In commit 02657da2cf4457804ed938ee08b8316249126444, .interp section
was removed from libpthread.so. This led to an error:
$ /lib64/libpthread.so.0
Native POSIX Threads Library by Ulrich Drepper et al
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Forced unwind support included.
Segmentation fault
(gdb) bt
#0 0x00000000000055a6 in _exit@plt ()
Unfortunately, there is no way to add a regression test for the bug
because .interp specifies the path to dynamic linker of the target
system.
[BZ #18479]
* nptl/pt-interp.c: New file.
* nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
Add pt-interp.
[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
$(common-objpfx)runtime-linker.h.
Diffstat (limited to 'nptl/pt-interp.c')
-rw-r--r-- | nptl/pt-interp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nptl/pt-interp.c b/nptl/pt-interp.c new file mode 100644 index 0000000..ecf1fe7 --- /dev/null +++ b/nptl/pt-interp.c @@ -0,0 +1 @@ +#include <elf/interp.c> |