about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--elf/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/elf/Makefile b/elf/Makefile
index f187459e54..31ac7ba105 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -21,8 +21,9 @@
 subdir		:= elf
 
 headers		= elf.h bits/elfclass.h link.h
-routines	= $(dl-routines) dl-open dl-close dl-support \
-		  dl-addr enbl-secure dl-profstub dl-origin dl-libc dl-sym
+routines	= $(dl-routines) dl-open dl-close dl-support dl-iteratephdr \
+		  dl-iteratephdr-static dl-addr enbl-secure dl-profstub \
+		  dl-origin dl-libc dl-sym
 
 # The core dynamic linking functions are in libc for the static and
 # profiled libraries.
@@ -31,7 +32,8 @@ dl-routines	= $(addprefix dl-,load cache lookup object reloc deps \
 				  version profile)
 all-dl-routines = $(dl-routines) $(sysdep-dl-routines)
 # But they are absent from the shared libc, because that code is in ld.so.
-elide-routines.os = $(all-dl-routines) dl-support enbl-secure
+elide-routines.os = $(all-dl-routines) dl-support enbl-secure \
+		    dl-iteratephdr-static
 
 # ld.so uses those routines, plus some special stuff for being the program
 # interpreter and operating independent of libc.