llvm-6502/test/MC/ELF
Rafael Espindola 201a551929 Fix the interpretation of a 0 st_name.
The ELF spec is very clear:

-----------------------------------------------------------------------------
If the value is non-zero, it represents a string table index that gives the
symbol name. Otherwise, the symbol table entry has no name.
--------------------------------------------------------------------------

In particular, a st_name of 0 most certainly doesn't mean that the symbol has
the same name as the section.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238899 91177308-0d34-0410-b5e6-96231b3b80d8
2015-06-03 05:14:22 +00:00
..
ARM
abs.s
alias-reloc.s
alias-to-local.s
alias.s Fix the interpretation of a 0 st_name. 2015-06-03 05:14:22 +00:00
align-bss.s
align-nops.s
align-size.s
align-text.s
align.s
bad-expr2.s
bad-expr3.s
bad-expr.s
bad-relocation.s
bad-section.s
basic-elf-32.s
basic-elf-64.s
bracket-exprs.s
bracket.s
bss-large.ll
bss.ll
call-abs.s
cfi-adjust-cfa-offset.s
cfi-advance-loc2.s
cfi-def-cfa-offset.s
cfi-def-cfa-register.s
cfi-def-cfa.s
cfi-escape.s
cfi-large-model.s
cfi-offset.s
cfi-reg.s
cfi-register.s
cfi-rel-offset2.s
cfi-rel-offset.s
cfi-remember.s
cfi-restore.s
cfi-same-value.s
cfi-sections.s
cfi-signal-frame.s
cfi-undefined.s
cfi-version.ll
cfi-window-save.s
cfi-zero-addr-delta.s
cfi.s
comdat-dup-group-name.s Fix the interpretation of a 0 st_name. 2015-06-03 05:14:22 +00:00
comdat-reloc.s
comdat.s
common2.s
common-error1.s
common-error2.s
common.s
comp-dir.s
compression.s
debug-line2.s
debug-line.s
debug-loc.s
diff2.s
diff.s
discriminator.s
dot-symbol-assignment.s
elf_directive_previous.s
elf_directive_section.s
empty-dwarf-lines.s
empty.s
entsize.ll
entsize.s
fde.s
file-double.s
file.s
gen-dwarf.s
global-offset.s
gnu-type-diagnostics.s
gnu-type.s
got.s
ident.s
ifunc-reloc.s
invalid-symver.s
lcomm.s
leb128.s
lit.local.cfg
local-reloc.s
many-sections-2.s Fix the interpretation of a 0 st_name. 2015-06-03 05:14:22 +00:00
many-sections.s Fix the interpretation of a 0 st_name. 2015-06-03 05:14:22 +00:00
merge.s
n_bytes.s
no-fixup.s
no-reloc.s
nocompression.s
noexec.s Fix the interpretation of a 0 st_name. 2015-06-03 05:14:22 +00:00
norelocation.s
offset.s
org.s
pic-diff.s
plt.s
pr9292.s
pr19430.s
pr19582.s
relax-all-flag.s
relax-arith.s
relax-crash.s
relax.s
reloc-same-name-section.s
relocation-386.s Fix the interpretation of a 0 st_name. 2015-06-03 05:14:22 +00:00
relocation-pc.s
relocation.s Fix the interpretation of a 0 st_name. 2015-06-03 05:14:22 +00:00
rename.s
section-quoting.s
section-sym2.s Fix the interpretation of a 0 st_name. 2015-06-03 05:14:22 +00:00
section-sym-err.s
section-sym.s Fix the interpretation of a 0 st_name. 2015-06-03 05:14:22 +00:00
section-unique-err1.s
section-unique-err2.s
section-unique-err3.s
section-unique-err4.s
section-unique.s
section.s
set.s
size.s
sleb.s
strtab-suffix-opt.s
subsection.s
subtraction-error.s
symbol-names.s
symver-msvc.s
symver.s Fix the interpretation of a 0 st_name. 2015-06-03 05:14:22 +00:00
tls-i386.s
tls.s
type-propagate.s
type.s
uleb.s
undef2.s
undef.s Fix the interpretation of a 0 st_name. 2015-06-03 05:14:22 +00:00
version.s
weak-diff.s
weak-relocation.s
weak.s
weakref-plt.s
weakref-reloc.s
weakref.s Fix the interpretation of a 0 st_name. 2015-06-03 05:14:22 +00:00
x86_64-reloc-sizetest.s
zero.s