mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-27 13:30:05 +00:00
Print string value for DT_RPATH and DT_RUNPATH.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189829 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
06ef1ed260
commit
6217187ff2
BIN
test/tools/llvm-readobj/Inputs/rpath.exe.elf-x86_64
Normal file
BIN
test/tools/llvm-readobj/Inputs/rpath.exe.elf-x86_64
Normal file
Binary file not shown.
4
test/tools/llvm-readobj/rpath.test
Normal file
4
test/tools/llvm-readobj/rpath.test
Normal file
@ -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
Block a user