diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | elf/Makefile | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -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. diff --git a/elf/Makefile b/elf/Makefile index a2d976e..f20f52d 100644 --- a/elf/Makefile +++ b/elf/Makefile @@ -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 |