aboutsummaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-01-11 22:18:24 +0000
committerUlrich Drepper <drepper@redhat.com>2006-01-11 22:18:24 +0000
commitd9266ea02f482e39904260d5add5d68c4508de38 (patch)
treef6f6320fd9758d0eebb5c7730edd4a9ab246d41f /elf
parent3baf2e9b75d110f47394e41127f8a4983c9d35c3 (diff)
downloadglibc-d9266ea02f482e39904260d5add5d68c4508de38.zip
glibc-d9266ea02f482e39904260d5add5d68c4508de38.tar.gz
glibc-d9266ea02f482e39904260d5add5d68c4508de38.tar.bz2
* Makerules: Define build-module-asneeded.
* iconvdata/extra-module.mk: Use build-module-asneeded. needed. 2006-01-09 Richard Henderson <rth@redhat.com> * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on ld.so. * sysdeps/alpha/__longjmp.S: Use PTR_DEMANGLE. * sysdeps/alpha/setjmp.S: Likewise. Avoid __sigjmp_save for rtld; tailcall in libc.so. * sysdeps/unix/sysv/linux/alpha/sysdep.h (PTR_MANGLE): Define. (PTR_MANGLE2): Define. 2006-01-11 Ulrich Drepper <drepper@redhat.com>
Diffstat (limited to 'elf')
-rw-r--r--elf/Makefile16
-rw-r--r--elf/check-localplt.c4
2 files changed, 15 insertions, 5 deletions
diff --git a/elf/Makefile b/elf/Makefile
index fedbb20..5cd78c2 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -828,11 +828,21 @@ check-data := $(firstword $(wildcard \
ifneq (,$(check-data))
tests: $(objpfx)check-localplt.out
+ifeq ($(have-thread-library),yes)
+thread-dso := $(filter-out %_nonshared.a, $(shared-thread-library))
+endif
+
$(objpfx)check-localplt.out: $(objpfx)check-localplt $(common-objpfx)libc.so \
- $(common-objpfx)math/libm.so $(check-data)
+ $(common-objpfx)math/libm.so $(thread-dso) \
+ $(common-objpfx)rt/librt.so \
+ $(common-objpfx)dlfcn/libdl.so \
+ $(check-data)
$(objpfx)check-localplt $(common-objpfx)libc.so \
- $(common-objpfx)math/libm.so | LC_ALL=C sort |\
- diff -u $(check-data) -
+ $(common-objpfx)math/libm.so $(thread-dso) \
+ $(common-objpfx)rt/librt.so \
+ $(common-objpfx)dlfcn/libdl.so | \
+ LC_ALL=C sort | \
+ diff -u $(check-data) - > $@
endif
endif
diff --git a/elf/check-localplt.c b/elf/check-localplt.c
index 96a6cc0..b4358a8 100644
--- a/elf/check-localplt.c
+++ b/elf/check-localplt.c
@@ -212,7 +212,7 @@ AB(handle_file) (const char *fname, int fd)
if (sym.st_value != 0)
/* This symbol is locally defined. */
- puts (strtab + SWAP (sym.st_name));
+ printf ("%s: %s\n", basename (fname), strtab + SWAP (sym.st_name));
}
else
for (E(Rel) *rel = relmem; (char *) rel - (char *) relmem < relsz; ++rel)
@@ -230,7 +230,7 @@ AB(handle_file) (const char *fname, int fd)
if (sym.st_value != 0)
/* This symbol is locally defined. */
- puts (strtab + SWAP (sym.st_name));
+ printf ("%s: %s\n", basename (fname), strtab + SWAP (sym.st_name));
}
return 0;