forked from OSchip/llvm-project
[llvm-readobj] Change "SHT_MIPS_DWARF" to "MIPS_DWARF"
Summary: This is to be consistent with the display of other MIPS section types. This string is also used by binutils-gdb/binutils/readelf.c:get_mips_section_type_name Since we are here, reorder the two enum constatns because SHT_MIPS_DWARF < SHT_MIPS_ABIFLAGS. Reviewers: jhenderson, atanasyan Reviewed By: jhenderson Subscribers: aprantl, sdardis, arichardson, rupprecht, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D58496 llvm-svn: 354571
This commit is contained in:
parent
206740e756
commit
8443e88910
|
@ -2860,10 +2860,10 @@ std::string getSectionTypeString(unsigned Arch, unsigned Type) {
|
|||
return "MIPS_REGINFO";
|
||||
case SHT_MIPS_OPTIONS:
|
||||
return "MIPS_OPTIONS";
|
||||
case SHT_MIPS_DWARF:
|
||||
return "MIPS_DWARF";
|
||||
case SHT_MIPS_ABIFLAGS:
|
||||
return "MIPS_ABIFLAGS";
|
||||
case SHT_MIPS_DWARF:
|
||||
return "SHT_MIPS_DWARF";
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue