From ac63a0783cdee8454c84fc45f37330d98b6039e7 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Fri, 5 Jun 2015 22:20:13 +0000 Subject: 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 instead of . --- Makeconfig | 1 - 1 file changed, 1 deletion(-) (limited to 'Makeconfig') diff --git a/Makeconfig b/Makeconfig index d32a0fd..0f4b549 100644 --- a/Makeconfig +++ b/Makeconfig @@ -596,7 +596,6 @@ endif # Variants of the two previous definitions for statically linking programs. +prectorT = `$(CC) $(sysdep-LDFLAGS) --print-file-name=crtbeginT.o` +postctorT = `$(CC) $(sysdep-LDFLAGS) --print-file-name=crtend.o` -+interp = $(addprefix $(elf-objpfx),interp.os) csu-objpfx = $(common-objpfx)csu/ elf-objpfx = $(common-objpfx)elf/ -- cgit v1.1