]> git.ipfire.org Git - thirdparty/glibc.git/commit
Include .interp section only for libc.so
authorSiddhesh Poyarekar <siddhesh@redhat.com>
Tue, 16 Sep 2014 16:49:22 +0000 (22:19 +0530)
committerSiddhesh Poyarekar <siddhesh@redhat.com>
Tue, 16 Sep 2014 16:49:22 +0000 (22:19 +0530)
commit02657da2cf4457804ed938ee08b8316249126444
treeafe1876cc19d2ff0e29c902784280791d2591b39
parent653b1080fad02725ab66e504a7bfeecf4347d7aa
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.
ChangeLog
Makerules
dlfcn/eval.c [deleted file]
elf/Makefile