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.
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.