llvm-6502/test/MC/ELF
Rafael Espindola ad04f5db82 Correctly handle references to section symbols.
When processing assembly like

.long .text

we were creating a new undefined symbol .text. GAS on the other hand would
handle that as a reference to the .text section.

This patch implements that by creating the section symbols earlier so that
they are visible during asm parsing.

The patch also updates llvm-readobj to print the symbol number in the relocation
dump so that the test can differentiate between two sections with the same name.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219829 91177308-0d34-0410-b5e6-96231b3b80d8
2014-10-15 18:55:30 +00:00
..
ARM Report error for non-zero data in .bss 2014-06-22 00:33:44 +00:00
abs.s
alias-reloc.s
alias.s
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 Emit DWARF3 call frame information when DWARF3+ debug info is requested 2014-06-19 15:39:33 +00:00
cfi-advance-loc2.s Emit DWARF3 call frame information when DWARF3+ debug info is requested 2014-06-19 15:39:33 +00:00
cfi-def-cfa-offset.s Emit DWARF3 call frame information when DWARF3+ debug info is requested 2014-06-19 15:39:33 +00:00
cfi-def-cfa-register.s Emit DWARF3 call frame information when DWARF3+ debug info is requested 2014-06-19 15:39:33 +00:00
cfi-def-cfa.s Emit DWARF3 call frame information when DWARF3+ debug info is requested 2014-06-19 15:39:33 +00:00
cfi-escape.s Emit DWARF3 call frame information when DWARF3+ debug info is requested 2014-06-19 15:39:33 +00:00
cfi-offset.s Emit DWARF3 call frame information when DWARF3+ debug info is requested 2014-06-19 15:39:33 +00:00
cfi-reg.s
cfi-register.s Emit DWARF3 call frame information when DWARF3+ debug info is requested 2014-06-19 15:39:33 +00:00
cfi-rel-offset2.s Emit DWARF3 call frame information when DWARF3+ debug info is requested 2014-06-19 15:39:33 +00:00
cfi-rel-offset.s Emit DWARF3 call frame information when DWARF3+ debug info is requested 2014-06-19 15:39:33 +00:00
cfi-remember.s Emit DWARF3 call frame information when DWARF3+ debug info is requested 2014-06-19 15:39:33 +00:00
cfi-restore.s Emit DWARF3 call frame information when DWARF3+ debug info is requested 2014-06-19 15:39:33 +00:00
cfi-same-value.s Emit DWARF3 call frame information when DWARF3+ debug info is requested 2014-06-19 15:39:33 +00:00
cfi-sections.s Emit DWARF3 call frame information when DWARF3+ debug info is requested 2014-06-19 15:39:33 +00:00
cfi-signal-frame.s Emit DWARF3 call frame information when DWARF3+ debug info is requested 2014-06-19 15:39:33 +00:00
cfi-undefined.s Emit DWARF3 call frame information when DWARF3+ debug info is requested 2014-06-19 15:39:33 +00:00
cfi-version.ll Revert "Revert "DI: Fold constant arguments into a single MDString"" 2014-10-03 20:01:09 +00:00
cfi-window-save.s Emit DWARF3 call frame information when DWARF3+ debug info is requested 2014-06-19 15:39:33 +00:00
cfi-zero-addr-delta.s Emit DWARF3 call frame information when DWARF3+ debug info is requested 2014-06-19 15:39:33 +00:00
cfi.s Emit DWARF3 call frame information when DWARF3+ debug info is requested 2014-06-19 15:39:33 +00:00
comdat-dup-group-name.s
comdat-reloc.s
comdat.s Correctly handle references to section symbols. 2014-10-15 18:55:30 +00:00
common2.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 Reduce verbiage of lit.local.cfg files 2014-06-09 22:42:55 +00:00
local-reloc.s
many-sections-2.s
many-sections.s
merge.s
n_bytes.s
no-fixup.s
no-reloc.s Avoid revocations when possible. 2014-07-01 14:34:30 +00:00
nocompression.s
noexec.s
norelocation.s
offset.s
org.s
pic-diff.s
plt.s
pr9292.s
pr19430.s Allow using .cfi_startproc without a leading symbol. 2014-06-23 15:34:32 +00:00
relax-all-flag.s
relax-arith.s
relax-crash.s
relax.s
relocation-386.s
relocation-pc.s
relocation.s
rename.s
section-quoting.s
section-sym-err.s Correctly handle references to section symbols. 2014-10-15 18:55:30 +00:00
section-sym.s Correctly handle references to section symbols. 2014-10-15 18:55:30 +00:00
section.s
set.s
sleb.s
strtab-suffix-opt.s
subsection.s
subtraction-error.s
symbol-names.s
symver.s
tls-i386.s
tls.s
type-propagate.s
type.s
uleb.s
undef2.s
undef.s
version.s
weak-relocation.s
weak.s
weakref-plt.s
weakref-reloc.s
weakref.s
x86_64-reloc-sizetest.s
zero.s