[PATCH] D75659: [llvm-objdump] --syms: make flags closer to GNU objdump
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 4 17:59:13 PST 2020
MaskRay created this revision.
MaskRay added reviewers: grimar, jhenderson, rupprecht.
Herald added subscribers: llvm-commits, aheejin, jgravelle-google, sbc100, emaste, dschuff.
Herald added a reviewer: espindola.
Herald added a project: LLVM.
This fixes several issues. The behavior changes are:
A SHN_COMMON symbol does not have the 'g' flag.
An undefined symbol does not have 'g' or 'l' flag.
A STB_GLOBAL SymbolRef::ST_Unknown symbol has the 'g' flag.
A STB_LOCAL SymbolRef::ST_Unknown symbol has the 'l' flag.
There are 30+ other lld tests need fixing.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D75659
Files:
lld/test/ELF/arm-target1.s
lld/test/ELF/edata-etext.s
lld/test/ELF/edata-no-bss.s
llvm/test/MC/AArch64/inst-directive.s
llvm/test/MC/AArch64/mapping-across-sections.s
llvm/test/MC/ARM/mapping-initial.s
llvm/test/MC/ARM/mapping-within-section.s
llvm/test/MC/ARM/multi-section-mapping.s
llvm/test/MC/ARM/relocated-mapping.s
llvm/test/MC/AsmParser/defsym.s
llvm/test/MC/Hexagon/common-redeclare.s
llvm/test/MC/Hexagon/offset.s
llvm/test/tools/llvm-objdump/WebAssembly/symbol-table.test
llvm/test/tools/llvm-objdump/X86/adjust-vma.test
llvm/test/tools/llvm-objdump/X86/out-of-section-sym.test
llvm/test/tools/llvm-objdump/common-symbol-elf.test
llvm/tools/llvm-objdump/llvm-objdump.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75659.248362.patch
Type: text/x-patch
Size: 10776 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200305/02001d6c/attachment.bin>
More information about the llvm-commits
mailing list