llvm-6502/test/MC/MachO
Rafael Espindola 5d4918dbd1 There are two reasons why we might want to use
foo = a - b
.long foo
instead of just
.long a - b

First, on darwin9 64 bits the assembler produces the wrong result. Second,
if "a" is the end of the section all darwin assemblers (9, 10 and mc) will not
consider a - b to be a constant but will if the dummy foo is created.

Split how we handle these cases. The first one is something MC should take care
of. The second one has to be handled by the caller.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120889 91177308-0d34-0410-b5e6-96231b3b80d8
2010-12-04 03:21:47 +00:00
..
absolutize.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
comm-1.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
darwin-x86_64-diff-relocs.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
darwin-x86_64-reloc-offsets.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
darwin-x86_64-reloc.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
data.s
dg.exp
direction_labels.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
empty-dwarf-lines.s There are two reasons why we might want to use 2010-12-04 03:21:47 +00:00
indirect-symbols.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
jcc.s Change section_data dumping to print hex numbers instead of using 2010-09-11 15:25:58 +00:00
lcomm-attributes.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
relax-jumps.s Change section_data dumping to print hex numbers instead of using 2010-09-11 15:25:58 +00:00
relax-recompute-align.s MC/Mach-O: Implement initial support for relaxation. 2010-03-12 22:07:14 +00:00
reloc-diff.s MC/Mach-O: Use the SECTDIFF relocation type for (A - B + constant) where A is external. 2010-03-10 00:58:25 +00:00
reloc-pcrel-offset.s Change section_data dumping to print hex numbers instead of using 2010-09-11 15:25:58 +00:00
reloc-pcrel.s MC/Mach-O: For PCrel relocations, we need to compensate for the PCrel adjustment when determining if we need a scattered relocation. 2010-03-09 21:27:58 +00:00
reloc.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
section-align-1.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
section-align-2.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
section-flags.s
string-table.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
symbol-flags.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
symbol-indirect.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
symbols-1.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
tbss.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
tdata.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
thread_init_func.s Change section_data dumping to print hex numbers instead of using 2010-09-11 15:25:58 +00:00
tls.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
tlv-reloc.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
tlv.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
values.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
x86_32-optimal_nop.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
x86_32-sections.s MC/Mach-O: Initial x86_64 support. 2010-03-13 22:10:17 +00:00
x86_32-symbols.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
x86_64-sections.s MC/Mach-O: Initial x86_64 support. 2010-03-13 22:10:17 +00:00
x86_64-symbols.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
zerofill-1.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
zerofill-2.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
zerofill-3.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
zerofill-4.s MC/Macho-O: Align the zerofill section itself to the maximum alignment. 2010-03-08 22:03:42 +00:00
zerofill-5.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
zerofill-sect-align.s MC/Macho-O: Align the zerofill section itself to the maximum alignment. 2010-03-08 22:03:42 +00:00