diff options
author | Dmitriy Ivanov <dimitry@google.com> | 2014-07-08 22:27:06 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-07-07 18:07:41 +0000 |
commit | 2b40ae78ec3bd664722b45dee42e7e4177dd06ed (patch) | |
tree | 26d0ebbf403b21d9c56858107f7a04174f35c30a /9/platforms/android-19/arch-x86_64 | |
parent | c8073a3c61b274af063f7d30c2e3a8b0b78dad67 (diff) | |
parent | 16c6c10f7e6bd14c255258f2e03728fa9edbca8e (diff) | |
download | prebuilts_ndk-2b40ae78ec3bd664722b45dee42e7e4177dd06ed.zip prebuilts_ndk-2b40ae78ec3bd664722b45dee42e7e4177dd06ed.tar.gz prebuilts_ndk-2b40ae78ec3bd664722b45dee42e7e4177dd06ed.tar.bz2 |
Merge "Update dlext.h header for 64bits"
Diffstat (limited to '9/platforms/android-19/arch-x86_64')
-rw-r--r-- | 9/platforms/android-19/arch-x86_64/usr/include/android/dlext.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/9/platforms/android-19/arch-x86_64/usr/include/android/dlext.h b/9/platforms/android-19/arch-x86_64/usr/include/android/dlext.h index 90962fa..5c3a206 100644 --- a/9/platforms/android-19/arch-x86_64/usr/include/android/dlext.h +++ b/9/platforms/android-19/arch-x86_64/usr/include/android/dlext.h @@ -49,18 +49,25 @@ enum { */ ANDROID_DLEXT_USE_RELRO = 0x8, + /* Instruct dlopen to use library_fd instead of opening file by name. + * The filename parameter is still used to identify the library. + */ + ANDROID_DLEXT_USE_LIBRARY_FD = 0x10, + /* Mask of valid bits */ ANDROID_DLEXT_VALID_FLAG_BITS = ANDROID_DLEXT_RESERVED_ADDRESS | ANDROID_DLEXT_RESERVED_ADDRESS_HINT | ANDROID_DLEXT_WRITE_RELRO | - ANDROID_DLEXT_USE_RELRO, + ANDROID_DLEXT_USE_RELRO | + ANDROID_DLEXT_USE_LIBRARY_FD, }; typedef struct { - int flags; + uint64_t flags; void* reserved_addr; size_t reserved_size; int relro_fd; + int library_fd; } android_dlextinfo; extern void* android_dlopen_ext(const char* filename, int flag, const android_dlextinfo* extinfo); |