X86_32: Large Symbol+Offset relocations.
authorJim Grosbach <grosbach@apple.com>
Wed, 26 Sep 2012 21:27:45 +0000 (21:27 +0000)
committerJim Grosbach <grosbach@apple.com>
Wed, 26 Sep 2012 21:27:45 +0000 (21:27 +0000)
commitc03a0c241e9c13549e6e8e7f4f50d81cc5b0a76e
tree6388c762ed3aed544fe6fc1eda4889c249222139
parent4ca7389925e0f7578cfc7af894a0d655672eb4ee
X86_32: Large Symbol+Offset relocations.

If the offset is more than 24-bits, it won't fit in a scattered
relocation offset field, so we fall back to using a non-scattered
relocation.

rdar://12358909

llvm-svn: 164724
llvm/lib/Target/X86/MCTargetDesc/X86MachObjectWriter.cpp
llvm/test/MC/MachO/i386-large-relocations.s [new file with mode: 0644]