llvm-6502/test/MC
Rafael Espindola c326067040 Don't produce relocations for a difference in a section with no symbols.
We were producing a relocation for
----------------
.section foo,bar
La:
Lb:
 .long   La-Lb
--------------

but not for

---------------------
  .section foo,bar
zed:
La:
Lb:
 .long   La-Lb
----------------

This patch handles the case where both fragments are part of the first atom
in a section and there is no corresponding symbol to that atom.

This fixes pr21328.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221304 91177308-0d34-0410-b5e6-96231b3b80d8
2014-11-04 22:10:33 +00:00
..
AArch64 [AArch64] Add support for the .inst directive. 2014-10-22 20:35:57 +00:00
ARM Add missing tests for build attribute encodings in object files. 2014-11-04 09:07:40 +00:00
AsmParser MC: AsmLexer: handle multi-character CommentStrings correctly 2014-08-14 02:51:43 +00:00
COFF MC, COFF: Make bigobj test compatible with python3 2014-10-14 22:35:11 +00:00
Disassembler [Hexagon] Reverting 220584 to address ASAN errors. 2014-11-04 00:14:36 +00:00
ELF Add back commits r219835 and a fixed version of r219829. 2014-10-17 01:48:58 +00:00
MachO Don't produce relocations for a difference in a section with no symbols. 2014-11-04 22:10:33 +00:00
Markup MC: Simple example parser for MC assembly markup. 2012-10-31 23:24:13 +00:00
Mips [mips] Add names and tests for the hardware registers 2014-11-04 21:30:44 +00:00
PowerPC [PPC64] VSX indexed-form loads use wrong instruction format 2014-10-09 17:51:35 +00:00
Sparc Reduce verbiage of lit.local.cfg files 2014-06-09 22:42:55 +00:00
SystemZ Exclude known and bugzilled failures from UBSan bootstrap 2014-09-17 20:17:52 +00:00
X86 Don't produce relocations for a difference in a section with no symbols. 2014-11-04 22:10:33 +00:00