Skip to content

Commit

Permalink
Fix pattern on $(ldd-rewrite-script) substitution
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Schwab committed Sep 13, 2011
1 parent 995a80d commit 52d4fef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion elf/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 52d4fef

Please sign in to comment.