summaryrefslogtreecommitdiffstats
path: root/libelf/libelfP.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2010-01-07 19:41:04 -0800
committerRoland McGrath <roland@redhat.com>2010-01-07 19:43:42 -0800
commit6fd3cd104adf4107aa64e1c1e84028b4ea0b3296 (patch)
tree6d42f1017e802ccf94abbe5af598eec8b2600166 /libelf/libelfP.h
parent7452e1953a4a4e70af3fb472e609e89776031e53 (diff)
downloadandroid_external_elfutils-6fd3cd104adf4107aa64e1c1e84028b4ea0b3296.tar.gz
android_external_elfutils-6fd3cd104adf4107aa64e1c1e84028b4ea0b3296.tar.bz2
android_external_elfutils-6fd3cd104adf4107aa64e1c1e84028b4ea0b3296.zip
Add elf_getphdrnum, support >65536 phdrs.
Diffstat (limited to 'libelf/libelfP.h')
-rw-r--r--libelf/libelfP.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libelf/libelfP.h b/libelf/libelfP.h
index ca754a01..2b8391bd 100644
--- a/libelf/libelfP.h
+++ b/libelf/libelfP.h
@@ -1,5 +1,5 @@
/* Internal interfaces for libelf.
- Copyright (C) 1998-2003, 2005, 2006, 2007, 2009 Red Hat, Inc.
+ Copyright (C) 1998-2010 Red Hat, Inc.
This file is part of Red Hat elfutils.
Contributed by Ulrich Drepper <drepper@redhat.com>, 1998.
@@ -530,6 +530,8 @@ extern Elf_Scn *__elf32_offscn_internal (Elf *__elf, Elf32_Off __offset)
attribute_hidden;
extern Elf_Scn *__elf64_offscn_internal (Elf *__elf, Elf64_Off __offset)
attribute_hidden;
+extern int __elf_getphdrnum_rdlock (Elf *__elf, size_t *__dst)
+ internal_function;
extern int __elf_getshdrnum_rdlock (Elf *__elf, size_t *__dst)
internal_function;
extern int __elf_getshdrstrndx_internal (Elf *__elf, size_t *__dst)