From: Simon Atanasyan Date: Thu, 3 Oct 2019 12:08:11 +0000 (+0000) Subject: [llvm-readobj][mips] Remove non-standard --misp-xxx flags X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=43e1f17ba6bb933bd1b814323cb75ab72b32efe0;p=llvm [llvm-readobj][mips] Remove non-standard --misp-xxx flags llvm-readobj "non-standard" flags `--mips-plt-got`, `--mips-abi-flags`, `--mips-reginfo`, and `--mips-options` are superseded by the `--arch-specific` flag and can be removed now. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@373590 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/llvm-readobj/llvm-readobj.cpp b/tools/llvm-readobj/llvm-readobj.cpp index 2e3041fed18..dfcda999631 100644 --- a/tools/llvm-readobj/llvm-readobj.cpp +++ b/tools/llvm-readobj/llvm-readobj.cpp @@ -237,23 +237,6 @@ namespace opts { cl::alias ArchSpecifcInfoShort("A", cl::desc("Alias for --arch-specific"), cl::aliasopt(ArchSpecificInfo), cl::NotHidden); - // --mips-plt-got - cl::opt - MipsPLTGOT("mips-plt-got", - cl::desc("Display the MIPS GOT and PLT GOT sections")); - - // --mips-abi-flags - cl::opt MipsABIFlags("mips-abi-flags", - cl::desc("Display the MIPS.abiflags section")); - - // --mips-reginfo - cl::opt MipsReginfo("mips-reginfo", - cl::desc("Display the MIPS .reginfo section")); - - // --mips-options - cl::opt MipsOptions("mips-options", - cl::desc("Display the MIPS .MIPS.options section")); - // --coff-imports cl::opt COFFImports("coff-imports", cl::desc("Display the PE/COFF import table")); @@ -529,16 +512,6 @@ static void dumpObject(const ObjectFile *Obj, ScopedPrinter &Writer, Dumper->printMipsPLTGOT(); } } - if (isMipsArch(Obj->getArch())) { - if (opts::MipsPLTGOT) - Dumper->printMipsPLTGOT(); - if (opts::MipsABIFlags) - Dumper->printMipsABIFlags(); - if (opts::MipsReginfo) - Dumper->printMipsReginfo(); - if (opts::MipsOptions) - Dumper->printMipsOptions(); - } if (opts::SectionGroups) Dumper->printGroupSections(); if (opts::HashHistogram)