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-offset.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-offset.s
|
228290c0d181b663f33680aea03e10843da5f907 |
|
11-Sep-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Change section_data dumping to print hex numbers instead of using python's %r. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113685 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/MC/MachO/reloc-pcrel-offset.s
|
da3e9f760ce2328f6dfe69663c2b17da02ece2db |
|
13-Mar-2010 |
Daniel Dunbar <daniel@zuster.org> |
MC/Mach-O: PCrel relocations weren't using the right base address, they are relative to the fragment address, not its offset. This was masked by the text section normally being at address 0. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98420 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/MC/MachO/reloc-pcrel-offset.s
|