summary refs log tree commit diff
path: root/Makerules
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2014-09-16 22:19:22 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2014-09-16 22:19:22 +0530
commit02657da2cf4457804ed938ee08b8316249126444 (patch)
treeafe1876cc19d2ff0e29c902784280791d2591b39 /Makerules
parent653b1080fad02725ab66e504a7bfeecf4347d7aa (diff)
downloadglibc-02657da2cf4457804ed938ee08b8316249126444.tar.gz
glibc-02657da2cf4457804ed938ee08b8316249126444.tar.xz
glibc-02657da2cf4457804ed938ee08b8316249126444.zip
Include .interp section only for libc.so
Barring libc.so and libdl.so, none of the libraries have any entry
points, so it is pointless to add a .interp section for them.  The
libdl.so entry point (in dlfcn/eval.c) is also defunct, so remove that
file as well.

Build tested for x86_64, ppc64 and s390x.  I have not moved
CFLAGS-interp.c to CPPFLAGS-interp.c isnce I'll be removing it
completely in a follow-up patch.

Siddhesh

	* Makerules (lib%.so): Don't include $(+interp) in
	prerequisites.
	* elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
	* dlfcn/eval.c: Remove file.
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makerules b/Makerules
index 6b30e8ce58..695c9ab597 100644
--- a/Makerules
+++ b/Makerules
@@ -436,7 +436,7 @@ link-libc-deps = $(common-objpfx)libc.so $(common-objpfx)linkobj/libc.so \
 # $(LDLIBS-%.so) may contain -l switches to generate run-time dependencies
 # on other shared objects.  The linking with libc and ld.so is intended
 # to be as similar as possible to a default link with an installed libc.
-lib%.so: lib%_pic.a $(+preinit) $(+postinit) $(+interp) $(link-libc-deps)
+lib%.so: lib%_pic.a $(+preinit) $(+postinit) $(link-libc-deps)
 	$(build-shlib) $(link-libc-args)
 
 define build-shlib-helper