aboutsummaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2017-10-01 16:09:20 -0700
committerH.J. Lu <hjl.tools@gmail.com>2017-10-01 16:09:38 -0700
commita0aef7830eb0698f72129b647be8c00cdf0c7938 (patch)
treef649980f9d20665da5916e17915bd31414a24471 /elf
parent3ee8209be761210dc6a8f121fd79231e7f364a9b (diff)
downloadglibc-a0aef7830eb0698f72129b647be8c00cdf0c7938.zip
glibc-a0aef7830eb0698f72129b647be8c00cdf0c7938.tar.gz
glibc-a0aef7830eb0698f72129b647be8c00cdf0c7938.tar.bz2
Move hidden_proto (__dl_iterate_phdr) to include/link.h [BZ #18822]
__dl_iterate_phdr is hidden and should be accessed directly within libc.so and libc.a without using GOT nor PLT. [BZ #18822] * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved to ... * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
Diffstat (limited to 'elf')
-rw-r--r--elf/dl-iteratephdr.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/elf/dl-iteratephdr.c b/elf/dl-iteratephdr.c
index ddd5bde..88473e7 100644
--- a/elf/dl-iteratephdr.c
+++ b/elf/dl-iteratephdr.c
@@ -28,7 +28,6 @@ cancel_handler (void *arg __attribute__((unused)))
__rtld_lock_unlock_recursive (GL(dl_load_write_lock));
}
-hidden_proto (__dl_iterate_phdr)
int
__dl_iterate_phdr (int (*callback) (struct dl_phdr_info *info,
size_t size, void *data), void *data)