about summary refs log tree commit diff
path: root/elf/Makefile
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-06-09 07:06:21 -0400
committerUlrich Drepper <drepper@gmail.com>2011-06-09 07:06:21 -0400
commit11988f8f9656042c3dfd9002ac85dff33173b9bd (patch)
tree2ff270ab6198e49a658120831832f08e4c2e34bf /elf/Makefile
parent8621fc3b996a7bf5d60a0fb86cb15a078dcbf542 (diff)
downloadglibc-11988f8f9656042c3dfd9002ac85dff33173b9bd.tar.gz
glibc-11988f8f9656042c3dfd9002ac85dff33173b9bd.tar.xz
glibc-11988f8f9656042c3dfd9002ac85dff33173b9bd.zip
Add pldd program
Diffstat (limited to 'elf/Makefile')
-rw-r--r--elf/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/elf/Makefile b/elf/Makefile
index 6d314a9ab7..844c9ca56f 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -150,8 +150,8 @@ install-others	= $(inst_slibdir)/$(rtld-installed-name)
 install-bin-script = ldd
 endif
 
-others		= sprof sln
-install-bin	= sprof
+others		= sprof sln pldd
+install-bin	= sprof pldd
 others-static   = sln
 install-rootsbin = sln
 
@@ -164,6 +164,8 @@ install-rootsbin += ldconfig
 ldconfig-modules := cache readlib xmalloc xstrdup chroot_canon
 extra-objs	+= $(ldconfig-modules:=.o)
 
+pldd-modules := xmalloc
+
 # To find xmalloc.c and xstrdup.c
 vpath %.c ../locale/programs
 
@@ -494,6 +496,9 @@ $(objpfx)ldd: ldd.bash.in $(common-objpfx)soversions.mk \
 $(objpfx)sprof: $(libdl)
 
 $(objpfx)ldconfig: $(ldconfig-modules:%=$(objpfx)%.o)
+
+$(objpfx)pldd: $(pldd-modules:%=$(objpfx)%.o)
+
 SYSCONF-FLAGS := -D'SYSCONFDIR="$(sysconfdir)"'
 CFLAGS-ldconfig.c = $(SYSCONF-FLAGS) -D'LIBDIR="$(libdir)"' \
 		    -D'SLIBDIR="$(slibdir)"' -DIS_IN_ldconfig=1