* commit '1a88ca08046ea510bfc8d3de6875537f124b3ce3': Add the dl_iterate_phdr function to libdl for arm.
This commit is contained in:
@@ -21,10 +21,11 @@ _LIBC_ARCH_COMMON_SRC_FILES := \
|
||||
# These are used by the static and dynamic versions of the libc
|
||||
# respectively.
|
||||
_LIBC_ARCH_STATIC_SRC_FILES := \
|
||||
arch-arm/bionic/exidx_static.c
|
||||
arch-arm/bionic/exidx_static.c \
|
||||
bionic/dl_iterate_phdr_static.c \
|
||||
|
||||
_LIBC_ARCH_DYNAMIC_SRC_FILES := \
|
||||
arch-arm/bionic/exidx_dynamic.c
|
||||
arch-arm/bionic/exidx_dynamic.c \
|
||||
|
||||
# Remove the C++ fortify function implementations for which there is an
|
||||
# arm assembler version.
|
||||
|
||||
@@ -43,11 +43,11 @@ struct dl_phdr_info {
|
||||
ElfW(Half) dlpi_phnum;
|
||||
};
|
||||
|
||||
int dl_iterate_phdr(int (*cb)(struct dl_phdr_info*, size_t, void*), void*);
|
||||
|
||||
#ifdef __arm__
|
||||
typedef long unsigned int* _Unwind_Ptr;
|
||||
_Unwind_Ptr dl_unwind_find_exidx(_Unwind_Ptr pc, int* pcount);
|
||||
#else
|
||||
int dl_iterate_phdr(int (*cb)(struct dl_phdr_info*, size_t, void*), void*);
|
||||
#endif
|
||||
|
||||
__END_DECLS
|
||||
|
||||
Reference in New Issue
Block a user