[PATCH] D58496: [llvm-readobj] Change "SHT_MIPS_DWARF" to "MIPS_DWARF"
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 21 02:30:57 PST 2019
MaskRay created this revision.
MaskRay added reviewers: jhenderson, atanasyan.
Herald added subscribers: llvm-commits, rupprecht, arichardson, sdardis.
Herald added a project: LLVM.
This is to be consistent with other MIPS section types. It is also used
by binutils-gdb/binutils/readelf.c:get_mips_section_type_name.
Repository:
rL LLVM
https://reviews.llvm.org/D58496
Files:
tools/llvm-readobj/ELFDumper.cpp
Index: tools/llvm-readobj/ELFDumper.cpp
===================================================================
--- tools/llvm-readobj/ELFDumper.cpp
+++ tools/llvm-readobj/ELFDumper.cpp
@@ -2860,10 +2860,10 @@
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;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58496.187747.patch
Type: text/x-patch
Size: 490 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190221/e8326ba2/attachment.bin>
More information about the llvm-commits
mailing list