From: Brad Smith Date: Sat, 19 Nov 2022 09:34:25 +0000 (-0500) Subject: [llvm-objdump] Left justify display of OpenBSD headers X-Git-Tag: upstream/17.0.6~27118 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d06b8b4ae38b743fa18eed9e7b0fcd204a0ec2ce;p=platform%2Fupstream%2Fllvm.git [llvm-objdump] Left justify display of OpenBSD headers This looks the same as OpenBSD's GNU objdump. --- diff --git a/llvm/tools/llvm-objdump/ELFDump.cpp b/llvm/tools/llvm-objdump/ELFDump.cpp index b7ce086..b98b45e 100644 --- a/llvm/tools/llvm-objdump/ELFDump.cpp +++ b/llvm/tools/llvm-objdump/ELFDump.cpp @@ -248,16 +248,16 @@ static void printProgramHeaders(const ELFFile &Obj, StringRef FileName) { outs() << " NOTE "; break; case ELF::PT_OPENBSD_BOOTDATA: - outs() << " OPENBSD_BOOTDATA "; + outs() << "OPENBSD_BOOTDATA "; break; case ELF::PT_OPENBSD_MUTABLE: - outs() << " OPENBSD_MUTABLE "; + outs() << "OPENBSD_MUTABLE "; break; case ELF::PT_OPENBSD_RANDOMIZE: - outs() << " OPENBSD_RANDOMIZE "; + outs() << "OPENBSD_RANDOMIZE "; break; case ELF::PT_OPENBSD_WXNEEDED: - outs() << " OPENBSD_WXNEEDED "; + outs() << "OPENBSD_WXNEEDED "; break; case ELF::PT_PHDR: outs() << " PHDR ";