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)
commitb7abea08409d4f15063b25e025f160a5469efd54
tree6577a96f00807c9e4b8f0ca319ba823a3a8894ad
parent2c79ecbd704c656178ffa43d5a58ebe3ca188b40
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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164724 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/MCTargetDesc/X86MachObjectWriter.cpp
test/MC/MachO/i386-large-relocations.s [new file with mode: 0644]