Fix pattern on $(ldd-rewrite-script) substitution

This commit is contained in:
Andreas Schwab 2011-09-13 10:29:43 +02:00
parent 995a80dfbc
commit 52d4fef8be
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2011-09-13 Andreas Schwab <schwab@redhat.com>
* elf/Makefile (gen-ldd): Fix pattern.
* elf/rtld.c (dl_main): Only use USE___THREAD when defined.
(init_tls): Likewise.

View File

@ -483,7 +483,7 @@ endef
else
define gen-ldd
LC_ALL=C sed $($(ldd-shell)-ldd-rewrite) < $< \
| LC_ALL=C sed -f $(patsubst $(..)/,/,$(..)$(ldd-rewrite-script)) > $@.new
| LC_ALL=C sed -f $(patsubst $(..)/%,/%,$(..)$(ldd-rewrite-script)) > $@.new
endef
endif