We don't use linkobj/libc.so at runtmie, no need to check for text rels
authorUlrich Drepper <drepper@gmail.com>
Sun, 26 Jun 2011 07:04:07 +0000 (03:04 -0400)
committerUlrich Drepper <drepper@gmail.com>
Sun, 26 Jun 2011 07:04:07 +0000 (03:04 -0400)
This also works around a toolchain issu.

ChangeLog
elf/Makefile

index 390928f..0745a7d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2011-06-26  Ulrich Drepper  <drepper@gmail.com>
+
+       * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
+
 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
 
        * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
index 5c05738..fbd7d88 100644 (file)
@@ -973,8 +973,9 @@ ifeq (yes,$(build-shared))
 tests: $(objpfx)check-textrel.out $(objpfx)check-execstack.out
 
 all-built-dso = $(common-objpfx)libc.so \
-               $(sort $(wildcard $(common-objpfx)*/lib*.so \
-                                 $(common-objpfx)iconvdata/*.so))
+               $(filter-out $(common-objpfx)linkobj/libc.so, \
+                            $(sort $(wildcard $(common-objpfx)*/lib*.so \
+                                              $(common-objpfx)iconvdata/*.so)))
 
 $(objpfx)check-textrel.out: $(objpfx)check-textrel $(all-built-dso)
        $(dir $<)$(notdir $<) $(filter-out $<, $^) > $@