mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
[llvm-readobj] Dump DT_RELACOUNT correctly.
llvm-svn: 257988
This commit is contained in:
parent
121c2832bb
commit
2af46a6b49
@ -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