mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 04:38:24 +00:00
[Mips] Add support for DT_MIPS_RLD_MAP and DT_MIPS_PLTGOT dynamic
section tags to the llvm-readobj. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198561 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -693,6 +693,8 @@ static const char *getTypeString(uint64_t Type) {
|
||||
LLVM_READOBJ_TYPE_CASE(MIPS_SYMTABNO);
|
||||
LLVM_READOBJ_TYPE_CASE(MIPS_UNREFEXTNO);
|
||||
LLVM_READOBJ_TYPE_CASE(MIPS_GOTSYM);
|
||||
LLVM_READOBJ_TYPE_CASE(MIPS_RLD_MAP);
|
||||
LLVM_READOBJ_TYPE_CASE(MIPS_PLTGOT);
|
||||
default: return "unknown";
|
||||
}
|
||||
}
|
||||
@ -731,6 +733,8 @@ static void printValue(const ELFFile<ELFT> *O, uint64_t Type, uint64_t Value,
|
||||
case DT_MIPS_FLAGS:
|
||||
case DT_MIPS_BASE_ADDRESS:
|
||||
case DT_MIPS_GOTSYM:
|
||||
case DT_MIPS_RLD_MAP:
|
||||
case DT_MIPS_PLTGOT:
|
||||
OS << format("0x%" PRIX64, Value);
|
||||
break;
|
||||
case DT_VERNEEDNUM:
|
||||
|
Reference in New Issue
Block a user