Prepare for restoration of .interp section in libpthread.so
commitac63a0783cdee8454c84fc45f37330d98b6039e7
authorDmitry V. Levin <ldv@altlinux.org>
Fri, 5 Jun 2015 22:20:13 +0000 (5 22:20 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Wed, 10 Jun 2015 10:14:45 +0000 (10 10:14 +0000)
treed32900cb01c19ddb23b8b018f890677ab23081d1
parent7cbeabac0fb28e24c99aaa5085e613ea543a2346
Prepare for restoration of .interp section in libpthread.so

Make runtime-linker.h available outside $(elf-objpfx) by moving
the file to $(common-objpfx) and the rules for it to Makerules.

Tested for x86_64 and x86 (testsuite, and that no compiled code
changed by the patch).

* Makeconfig (+interp): Remove unused variable.
* elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
only.  Depend on $(common-objpfx)runtime-linker.h instead of
$(elf-objpfx)runtime-linker.h.
($(elf-objpfx)runtime-linker.h): Rename to
$(common-objpfx)runtime-linker.h and move ...
* Makerules [$(build-shared) = yes]: ... here.
* elf/interp.c: Include <runtime-linker.h> instead of
<elf/runtime-linker.h>.
ChangeLog
Makeconfig
Makerules
elf/Makefile
elf/interp.c