questions related to --pack-dyn-relocs=android #1800
-
Build System maintainers guide suggests to use --pack-dyn-relocs=android on API Level 23 and more. I am trying to understand what are relocations and what is this new packing and how it reduces the binary size. Meanwhile, could somebody please let me know
Thanks!! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
they won't work. more specifically: https://android.googlesource.com/platform/bionic/+/master/android-changes-for-ndk-developers.md#relative-relocations-relr
yes.
no. (it might reduce the time taken to dlopen() the library, but once it's loaded, it will run exactly the same as before.) |
Beta Was this translation helpful? Give feedback.
they won't work.
more specifically: https://android.googlesource.com/platform/bionic/+/master/android-changes-for-ndk-developers.md#relative-relocations-relr
yes.