History log of /external/llvm/test/MC/MachO/reloc-pcrel.s
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8b9300b972745a6d89b482cbcd4206c01359f7df 17-Jan-2012 Jim Grosbach <grosbach@apple.com> MC tweak symbol difference resolution for non-local symbols.

When the non-local symbol in the expression is in the same fragment
as the second symbol, the assembler can still evaluate the expression
without needing a relocation.

For example, on ARM:
_foo:
ldr lr, (_foo - 4)

rdar://10348687



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148341 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/MC/MachO/reloc-pcrel.s
283f1fff47db3a483ab94e4b49cc39eb39dd48ea 17-Jan-2012 Jim Grosbach <grosbach@apple.com> Tidy up.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148339 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/MC/MachO/reloc-pcrel.s
577b09155f9a6fa38e5a7918da9701e120b3642f 07-Dec-2011 Jim Grosbach <grosbach@apple.com> Darwin assembler improved relocs when w/o subsections_via_symbols.

When the file isn't being built with subsections-via-symbols, symbol
differences involving non-local symbols can be resolved more aggressively.
Needed for gas compatibility.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146054 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/MC/MachO/reloc-pcrel.s
f3a066f7c3ef4e729c92929acab352a93f8d7563 09-Mar-2010 Daniel Dunbar <daniel@zuster.org> MC/Mach-O: For PCrel relocations, we need to compensate for the PCrel adjustment when determining if we need a scattered relocation.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98082 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/MC/MachO/reloc-pcrel.s