[all-commits] [llvm/llvm-project] f9a005: [llvm-objdump] --syms: make flags closer to GNU ob...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Thu Mar 5 10:00:04 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: f9a0056016fb89c84b5663642d0c836430a3ad87
https://github.com/llvm/llvm-project/commit/f9a0056016fb89c84b5663642d0c836430a3ad87
Author: Fangrui Song <maskray at google.com>
Date: 2020-03-05 (Thu, 05 Mar 2020)
Changed paths:
M lld/test/ELF/arm-target1.s
M lld/test/ELF/bss-start-common.s
M lld/test/ELF/edata-etext.s
M lld/test/ELF/edata-no-bss.s
M lld/test/ELF/i386-pc8-pc16-addend.s
M lld/test/ELF/i386-reloc8-reloc16-addend.s
M lld/test/ELF/linkerscript/absolute2.s
M lld/test/ELF/linkerscript/align4.test
M lld/test/ELF/linkerscript/align5.test
M lld/test/ELF/linkerscript/data-commands-gc.s
M lld/test/ELF/linkerscript/loadaddr.s
M lld/test/ELF/linkerscript/symbol-only.test
M lld/test/ELF/linkerscript/symbol-reserved.s
M lld/test/ELF/linkerscript/symbolreferenced.s
M lld/test/ELF/linkerscript/symbols-non-alloc.test
M lld/test/ELF/linkerscript/symbols.s
M lld/test/ELF/linkerscript/synthetic-symbols1.test
M lld/test/ELF/linkerscript/synthetic-symbols3.test
M lld/test/ELF/linkerscript/synthetic-symbols4.test
M lld/test/ELF/mips-32.s
M lld/test/ELF/mips-64-got.s
M lld/test/ELF/mips-64-rels.s
M lld/test/ELF/mips-64.s
M lld/test/ELF/mips-got16-relocatable.s
M lld/test/ELF/mips-got16.s
M lld/test/ELF/mips-gp-disp.s
M lld/test/ELF/mips-gp-ext.s
M lld/test/ELF/mips-gp-local.s
M lld/test/ELF/mips-gprel32-relocs-gp0.s
M lld/test/ELF/mips-gprel32-relocs.s
M lld/test/ELF/mips-hilo-gp-disp.s
M lld/test/ELF/mips-hilo-hi-only.s
M lld/test/ELF/mips-hilo.s
M lld/test/ELF/mips-mgot.s
M lld/test/ELF/mips-micro-cross-calls.s
M lld/test/ELF/mips-micro-relocs.s
M lld/test/ELF/mips-micror6-relocs.s
M lld/test/ELF/mips-n32-rels.s
M lld/test/ELF/mips-nonalloc.s
M lld/test/ELF/mips-pc-relocs.s
M lld/test/ELF/mips-tls-64.s
M lld/test/ELF/mips-tls-static-64.s
M lld/test/ELF/mips-tls-static.s
M lld/test/ELF/mips-tls.s
M lld/test/ELF/wrap-no-real.s
M llvm/test/MC/AArch64/inst-directive.s
M llvm/test/MC/AArch64/mapping-across-sections.s
M llvm/test/MC/ARM/mapping-initial.s
M llvm/test/MC/ARM/mapping-within-section.s
M llvm/test/MC/ARM/multi-section-mapping.s
M llvm/test/MC/ARM/relocated-mapping.s
M llvm/test/MC/AsmParser/defsym.s
M llvm/test/MC/Hexagon/common-redeclare.s
M llvm/test/MC/Hexagon/offset.s
M llvm/test/tools/llvm-objdump/WebAssembly/symbol-table.test
M llvm/test/tools/llvm-objdump/X86/adjust-vma.test
M llvm/test/tools/llvm-objdump/X86/out-of-section-sym.test
M llvm/test/tools/llvm-objdump/common-symbol-elf.test
M llvm/tools/llvm-objdump/llvm-objdump.cpp
Log Message:
-----------
[llvm-objdump] --syms: make flags closer to GNU objdump
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.
Reviewed By: rupprecht
Differential Revision: https://reviews.llvm.org/D75659
More information about the All-commits
mailing list