llvm-6502/test/MC/ELF
Benjamin Kramer 39646d96e7 MC: Overhaul handling of .lcomm
- Darwin lied about not supporting .lcomm and turned it into zerofill in the
  asm parser. Push the zerofill-conversion down into macho-specific code.
- This makes the tri-state LCOMMType enum superfluous, there are no targets
  without .lcomm.
- Do proper error reporting when trying to use .lcomm with alignment on a target
  that doesn't support it.
- .comm and .lcomm alignment was parsed in bytes on COFF, should be power of 2.
- Fixes PR13755 (.lcomm crashes on ELF).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163395 91177308-0d34-0410-b5e6-96231b3b80d8
2012-09-07 17:25:13 +00:00
..
abs.s print st_shndx with the correct number of bits. 2011-08-04 15:50:13 +00:00
alias-reloc.s Fix the bitwidth of the remaining fields. 2011-08-04 17:00:11 +00:00
alias.s print st_shndx with the correct number of bits. 2011-08-04 15:50:13 +00:00
align-bss.s Fix the bitwidth of the remaining fields. 2011-08-04 17:00:11 +00:00
align-nops.s Fix the bitwidth of the remaining fields. 2011-08-04 17:00:11 +00:00
align-size.s Fix the bitwidth of the remaining fields. 2011-08-04 17:00:11 +00:00
align-text.s Fix the bitwidth of the remaining fields. 2011-08-04 17:00:11 +00:00
align.s Fix the bitwidth of the remaining fields. 2011-08-04 17:00:11 +00:00
bad-section.s Jörg Sonnenberger noticed that we were missing this test. 2011-01-24 19:40:38 +00:00
basic-elf-32.s Fix the bitwidth of the remaining fields. 2011-08-04 17:00:11 +00:00
basic-elf-64.s Fix the bitwidth of the remaining fields. 2011-08-04 17:00:11 +00:00
bracket-exprs.s split this test into arch specific pieces, so the ARM 2011-02-25 19:06:35 +00:00
bracket.s Restore r125595 (reverted in r126336) with modifications: 2011-02-24 21:59:22 +00:00
bss.ll
call-abs.s Print r_sym with the correct number of bits. 2011-08-04 14:48:27 +00:00
cfi-adjust-cfa-offset.s Fix the bitwidth of the remaining fields. 2011-08-04 17:00:11 +00:00
cfi-advance-loc2.s Fix the bitwidth of the remaining fields. 2011-08-04 17:00:11 +00:00
cfi-def-cfa-offset.s Fix the bitwidth of the remaining fields. 2011-08-04 17:00:11 +00:00
cfi-def-cfa-register.s Fix the bitwidth of the remaining fields. 2011-08-04 17:00:11 +00:00
cfi-def-cfa.s Fix the bitwidth of the remaining fields. 2011-08-04 17:00:11 +00:00
cfi-escape.s Implement .cfi_escape. Patch by Brian Anderson! 2011-12-29 20:24:47 +00:00
cfi-offset.s Fix the bitwidth of the remaining fields. 2011-08-04 17:00:11 +00:00
cfi-reg.s PR13754: llvm-mc/x86 crashes on .cfi directives without the % prefix for registers. 2012-09-07 14:51:35 +00:00
cfi-rel-offset2.s Fix the bitwidth of the remaining fields. 2011-08-04 17:00:11 +00:00
cfi-rel-offset.s Fix the bitwidth of the remaining fields. 2011-08-04 17:00:11 +00:00
cfi-remember.s Fix the bitwidth of the remaining fields. 2011-08-04 17:00:11 +00:00
cfi-restore.s Implement cfi_restore. Patch by Brian Anderson! 2011-12-29 21:43:03 +00:00
cfi-same-value.s Fix the bitwidth of the remaining fields. 2011-08-04 17:00:11 +00:00
cfi-sections.s Fix the bitwidth of the remaining fields. 2011-08-04 17:00:11 +00:00
cfi-signal-frame.s Add support for .cfi_signal_frame. Fixes pr11762. 2012-01-23 21:51:52 +00:00
cfi-zero-addr-delta.s Fix the bitwidth of the remaining fields. 2011-08-04 17:00:11 +00:00
cfi.s Fix the bitwidth of the remaining fields. 2011-08-04 17:00:11 +00:00
comdat.s Fix the bitwidth of the remaining fields. 2011-08-04 17:00:11 +00:00
common2.s Fix the bitwidth of the remaining fields. 2011-08-04 17:00:11 +00:00
common.s print st_shndx with the correct number of bits. 2011-08-04 15:50:13 +00:00
debug-line.s Fix the bitwidth of the remaining fields. 2011-08-04 17:00:11 +00:00
debug-loc.s Fix the bitwidth of the remaining fields. 2011-08-04 17:00:11 +00:00
diff2.s Add a MCObjectFormat class so that code common to all targets that use a 2010-10-16 18:23:53 +00:00
diff.s Fix the bitwidth of the remaining fields. 2011-08-04 17:00:11 +00:00
elf_directive_previous.s actually, move the elf tests into the existing elf dir. 2010-10-02 18:53:48 +00:00
elf_directive_section.s actually, move the elf tests into the existing elf dir. 2010-10-02 18:53:48 +00:00
empty-dwarf-lines.s Fix the bitwidth of the remaining fields. 2011-08-04 17:00:11 +00:00
empty.s Fix the bitwidth of the remaining fields. 2011-08-04 17:00:11 +00:00
entsize.ll Fix the bitwidth of the remaining fields. 2011-08-04 17:00:11 +00:00
entsize.s Fix the bitwidth of the remaining fields. 2011-08-04 17:00:11 +00:00
fde.s Give this test an explicit triple. 2012-08-12 08:21:27 +00:00
file.s print st_shndx with the correct number of bits. 2011-08-04 15:50:13 +00:00
gen-dwarf.s On ELF, create relocations to the abbreviation and line sections when producing 2012-02-28 21:13:05 +00:00
global-offset.s Handle expressions of the form _GLOBAL_OFFSET_TABLE_-symbol the same way gas 2011-12-10 02:28:43 +00:00
got.s Print st_bind with the correct number of bits. 2011-08-04 15:10:35 +00:00
ident.s Fix the bitwidth of the remaining fields. 2011-08-04 17:00:11 +00:00
invalid-symver.s Produce an error for an invalid use of .symver. 2010-10-27 17:56:18 +00:00
lcomm.s MC: Overhaul handling of .lcomm 2012-09-07 17:25:13 +00:00
leb128.s Fix the bitwidth of the remaining fields. 2011-08-04 17:00:11 +00:00
lit.local.cfg Continue cleanup of LIT, getting rid of the remaining artifacts from dejagnu 2012-03-25 09:02:19 +00:00
local-reloc.s print st_shndx with the correct number of bits. 2011-08-04 15:50:13 +00:00
many-section.s In the ObjectFile interface, replace isInternal(), isAbsolute(), isGlobal(), and isWeak(), with a bitset of flags. 2012-02-28 23:47:53 +00:00
merge.s Fix the bitwidth of the remaining fields. 2011-08-04 17:00:11 +00:00
n_bytes.s Fix the bitwidth of the remaining fields. 2011-08-04 17:00:11 +00:00
no-fixup.s Add a test that shows that we produce no fixups when computing the difference 2010-12-18 05:07:45 +00:00
noexec.s Fix the bitwidth of the remaining fields. 2011-08-04 17:00:11 +00:00
norelocation.s Fix the bitwidth of the remaining fields. 2011-08-04 17:00:11 +00:00
org.s Fix the bitwidth of the remaining fields. 2011-08-04 17:00:11 +00:00
pic-diff.s Fix the bitwidth of the remaining fields. 2011-08-04 17:00:11 +00:00
plt.s Change anther counter to decimal. 2011-08-04 14:01:03 +00:00
pr9292.s print st_shndx with the correct number of bits. 2011-08-04 15:50:13 +00:00
relax-arith.s Implement some relaxations for arithmetic instructions. The limitation 2010-10-26 14:09:12 +00:00
relax-crash.s Relax dwarf line fragments. This fixes a crash in the included testcase. 2010-11-07 02:07:12 +00:00
relax.s Fix the bitwidth of the remaining fields. 2011-08-04 17:00:11 +00:00
relocation-386.s Handle reloc_signed_4byte in here. Not doing so was a regression from my 2011-12-09 19:57:29 +00:00
relocation-pc.s Fix the bitwidth of the remaining fields. 2011-08-04 17:00:11 +00:00
relocation.s Fix the bitwidth of the remaining fields. 2011-08-04 17:00:11 +00:00
rename.s Fix the bitwidth of the remaining fields. 2011-08-04 17:00:11 +00:00
section-quoting.s Be nice to Xcore and the XMOS assembler and avoid quoting section names 2011-03-04 20:03:14 +00:00
section.s Fix the bitwidth of the remaining fields. 2011-08-04 17:00:11 +00:00
set.s print st_shndx with the correct number of bits. 2011-08-04 15:50:13 +00:00
sleb.s Fixing r116753 r116756 r116777 2010-10-19 17:39:10 +00:00
symref.s Fix the bitwidth of the remaining fields. 2011-08-04 17:00:11 +00:00
tls-i386.s For ELF, also call fixSymbolsInTLSFixups() on expressions passed to EmitValue (literal values). Previously only called on expressions in instructions. New test cases added to tls.s, tls-i386.s. Resolves PR11981. 2012-02-15 15:09:06 +00:00
tls.s For ELF, also call fixSymbolsInTLSFixups() on expressions passed to EmitValue (literal values). Previously only called on expressions in instructions. New test cases added to tls.s, tls-i386.s. Resolves PR11981. 2012-02-15 15:09:06 +00:00
type.s Add support for gnu_indirect_function. 2011-12-12 17:34:04 +00:00
uleb.s Fixing r116753 r116756 r116777 2010-10-19 17:39:10 +00:00
undef2.s Print st_bind with the correct number of bits. 2011-08-04 15:10:35 +00:00
undef.s print st_shndx with the correct number of bits. 2011-08-04 15:50:13 +00:00
version.s ELF: Add support for the asm .version directive. 2012-05-12 14:30:47 +00:00
weak-relocation.s Fix the bitwidth of the remaining fields. 2011-08-04 17:00:11 +00:00
weak.s print st_shndx with the correct number of bits. 2011-08-04 15:50:13 +00:00
weakref-plt.s Print st_bind with the correct number of bits. 2011-08-04 15:10:35 +00:00
weakref-reloc.s Fix the bitwidth of the remaining fields. 2011-08-04 17:00:11 +00:00
weakref.s print st_shndx with the correct number of bits. 2011-08-04 15:50:13 +00:00
x86_64-reloc-sizetest.s Fix the bitwidth of the remaining fields. 2011-08-04 17:00:11 +00:00
zero.s Fix the bitwidth of the remaining fields. 2011-08-04 17:00:11 +00:00