diff options
author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2014-09-16 22:19:22 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2014-09-16 22:19:22 +0530 |
commit | 02657da2cf4457804ed938ee08b8316249126444 (patch) | |
tree | afe1876cc19d2ff0e29c902784280791d2591b39 /Makerules | |
parent | Assume that all _[PS]C_* and _CS_* macros are always defined (diff) | |
download | glibc-02657da2cf4457804ed938ee08b8316249126444.tar.gz glibc-02657da2cf4457804ed938ee08b8316249126444.tar.bz2 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-- | Makerules | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |