Document DT_RUNPATH support.

Bug: http://b/37328826
Test: N/A
Change-Id: Ia220f7f519e3cdd6193faff3b58d598505d4d0cf
This commit is contained in:
Elliott Hughes 2017-04-17 16:01:23 -07:00
parent e4e69a174a
commit d6f91ce85f
1 changed files with 10 additions and 0 deletions

View File

@ -316,6 +316,16 @@ configured your build system to generate incorrect SONAME entries (using
the -soname linker option).
## DT_RUNPATH support (Available in API level >= 24)
If an ELF file contains a DT_RUNPATH entry, the directories listed there
will be searched to resolve DT_NEEDED entries. The string `${ORIGIN}` will
be rewritten at runtime to the directory containing the ELF file. This
allows the use of relative paths. The `${LIB}` and `${PLATFORM}`
substitutions supported on some systems are not currently implemented on
Android.
## Writable and Executable Segments (Enforced for API level >= 26)
Each segment in an ELF file has associated flags that tell the