Print string value for DT_RPATH and DT_RUNPATH.
llvm-svn: 189829
This commit is contained in:
parent
d2f4079db9
commit
ce91d01a1b
Binary file not shown.
|
@ -0,0 +1,4 @@
|
|||
RUN: llvm-readobj -dynamic-table %p/Inputs/rpath.exe.elf-x86_64 \
|
||||
RUN: | FileCheck %s
|
||||
|
||||
CHECK: 0x000000000000000F RPATH /usr/local/lib
|
|
@ -723,6 +723,10 @@ static void printValue(const ELFFile<ELFT> *O, uint64_t Type, uint64_t Value,
|
|||
case DT_SONAME:
|
||||
OS << "LibrarySoname (" << O->getDynamicString(Value) << ")";
|
||||
break;
|
||||
case DT_RPATH:
|
||||
case DT_RUNPATH:
|
||||
OS << O->getDynamicString(Value);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue