mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-23 19:59:57 +00:00
[llvm-readobj] Dump DT_RELACOUNT correctly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257988 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2c3ac29b7f
commit
bac7fb4eb0
@ -25,7 +25,7 @@ CHECK: 0x0000000000000009 RELAENT 24 (bytes)
|
||||
CHECK: 0x000000006FFFFFFE VERNEED 0x3A8
|
||||
CHECK: 0x000000006FFFFFFF VERNEEDNUM 1
|
||||
CHECK: 0x000000006FFFFFF0 VERSYM 0x38C
|
||||
CHECK: 0x000000006FFFFFF9 unknown 0x3
|
||||
CHECK: 0x000000006FFFFFF9 RELACOUNT 3
|
||||
CHECK: 0x0000000000000000 NULL 0x0
|
||||
CHECK: ]
|
||||
CHECK: HashTable {
|
||||
|
@ -145,6 +145,6 @@ ELF-AARCH64-SO: 0x0000000000000009 RELAENT 24 (bytes)
|
||||
ELF-AARCH64-SO: 0x000000006FFFFFFE VERNEED 0x520
|
||||
ELF-AARCH64-SO: 0x000000006FFFFFFF VERNEEDNUM 1
|
||||
ELF-AARCH64-SO: 0x000000006FFFFFF0 VERSYM 0x4F2
|
||||
ELF-AARCH64-SO: 0x000000006FFFFFF9 unknown 0x3
|
||||
ELF-AARCH64-SO: 0x000000006FFFFFF9 RELACOUNT 3
|
||||
ELF-AARCH64-SO: 0x0000000000000000 NULL 0x0
|
||||
ELF-AARCH64-SO: ]
|
||||
|
@ -1336,6 +1336,7 @@ static const char *getTypeString(uint64_t Type) {
|
||||
LLVM_READOBJ_TYPE_CASE(VERNEED);
|
||||
LLVM_READOBJ_TYPE_CASE(VERNEEDNUM);
|
||||
LLVM_READOBJ_TYPE_CASE(VERSYM);
|
||||
LLVM_READOBJ_TYPE_CASE(RELACOUNT);
|
||||
LLVM_READOBJ_TYPE_CASE(RELCOUNT);
|
||||
LLVM_READOBJ_TYPE_CASE(GNU_HASH);
|
||||
LLVM_READOBJ_TYPE_CASE(TLSDESC_PLT);
|
||||
@ -1482,6 +1483,7 @@ void ELFDumper<ELFT>::printValue(uint64_t Type, uint64_t Value) {
|
||||
case DT_MIPS_OPTIONS:
|
||||
OS << format("0x%" PRIX64, Value);
|
||||
break;
|
||||
case DT_RELACOUNT:
|
||||
case DT_RELCOUNT:
|
||||
case DT_VERDEFNUM:
|
||||
case DT_VERNEEDNUM:
|
||||
|
Loading…
Reference in New Issue
Block a user