OSDN Git Service

Merge "Add offset to backtrace_string printing." am: f6a5afcb62 am: c4d31c981a
[android-x86/bionic.git] / android-changes-for-ndk-developers.md
index 5279118..c301857 100644 (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