diff options
author | Jim Grosbach <grosbach@apple.com> | 2011-12-07 19:46:59 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2011-12-07 19:46:59 +0000 |
commit | 577b09155f9a6fa38e5a7918da9701e120b3642f (patch) | |
tree | a2eefae85f5ef3c67c6ba1bf2218a61d3aea1ccc /test/MC/MachO/reloc-pcrel-offset.s | |
parent | feb468ab24a9e85b4d27faa6badfb57a2414610c (diff) | |
download | llvm-577b09155f9a6fa38e5a7918da9701e120b3642f.tar.gz llvm-577b09155f9a6fa38e5a7918da9701e120b3642f.tar.bz2 llvm-577b09155f9a6fa38e5a7918da9701e120b3642f.tar.xz |
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
Diffstat (limited to 'test/MC/MachO/reloc-pcrel-offset.s')
-rw-r--r-- | test/MC/MachO/reloc-pcrel-offset.s | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/MC/MachO/reloc-pcrel-offset.s b/test/MC/MachO/reloc-pcrel-offset.s index e0f12bf4ba..bc611d7f36 100644 --- a/test/MC/MachO/reloc-pcrel-offset.s +++ b/test/MC/MachO/reloc-pcrel-offset.s @@ -12,3 +12,5 @@ .text _a: call _a + + .subsections_via_symbols |