about summary refs log tree commit diff
path: root/elf/interp.c
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2014-09-16 22:20:45 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2014-09-16 22:20:45 +0530
commitd330b980e9ee2349492087a279a9c7bf294f6b47 (patch)
treeeb1abe30122a1f47f9968b7e576e6a822884570d /elf/interp.c
parent02657da2cf4457804ed938ee08b8316249126444 (diff)
downloadglibc-d330b980e9ee2349492087a279a9c7bf294f6b47.tar.gz
glibc-d330b980e9ee2349492087a279a9c7bf294f6b47.tar.xz
glibc-d330b980e9ee2349492087a279a9c7bf294f6b47.zip
Remove CFLAGS for interp.c
Replace it with including an auto-generated linker-runtime.h.
Build-tested on x86_64 and found that there was no change in the
generated code.

	* elf/Makefile (CFLAGS-interp.c): Remove.
	($(elf-objpfx)runtime-linker.h): Generate header with linker
	path string.
	* elf/interp.c: Include generated runtime-linker.h
Diffstat (limited to 'elf/interp.c')
-rw-r--r--elf/interp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/elf/interp.c b/elf/interp.c
index 49c92f59dc..a2492bffba 100644
--- a/elf/interp.c
+++ b/elf/interp.c
@@ -16,5 +16,7 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
+#include <elf/runtime-linker.h>
+
 const char __invoke_dynamic_linker__[] __attribute__ ((section (".interp")))
   = RUNTIME_LINKER;