This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] [BZ #18479]: nptl: restore .interp section in libpthread.so
- From: Roland McGrath <roland at hack dot frob dot com>
- To: "Dmitry V. Levin" <ldv at altlinux dot org>
- Cc: Gleb Fotengauer-Malinovskiy <glebfm at altlinux dot org>, libc-alpha at sourceware dot org
- Date: Fri, 5 Jun 2015 14:05:57 -0700 (PDT)
- Subject: Re: [PATCH] [BZ #18479]: nptl: restore .interp section in libpthread.so
- Authentication-results: sourceware.org; auth=none
- References: <20150602180401 dot GA28489 at glebfm dot cloud dot tilaa dot com> <20150602200948 dot BB5A32C3AB9 at topped-with-meat dot com> <20150602224728 dot GA19067 at altlinux dot org>
> On Tue, Jun 02, 2015 at 01:09:48PM -0700, Roland McGrath wrote:
> > I think it's better just to give libpthread its own build of interp.c.
> > The simplest thing is to add a pt-interp to libpthread-routines and
> > have pt-interp.c be: #include <elf/interp.c>.
>
> In that case $(objpfx)pt-interp.os would have to depend on
> $(elf-objpfx)runtime-linker.h; this dependence doesn't work as is
> and looks as dirty as -DNO_SYMBOL_HACKS.
We could move runtime-linker.h to $(common-objpfx) and the rules for it to
Rules.