summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorKevin Enderby <enderby@apple.com>2013-12-04 23:36:24 +0000
committerKevin Enderby <enderby@apple.com>2013-12-04 23:36:24 +0000
commit86496a45cbec55304350903c39f5e58908322420 (patch)
tree9ab057cb330c90ac85bb5c6219702ef521b86a48 /llvm/lib/CodeGen
parentad10cb51e3b6d99d42338ca3e4168b7116a8aa16 (diff)
downloadbcm5719-llvm-86496a45cbec55304350903c39f5e58908322420.tar.gz
bcm5719-llvm-86496a45cbec55304350903c39f5e58908322420.zip
Fix a bug in darwin's 32-bit X86 handling of evaluating fixups.
Where it would use a scattered relocation entry but falls back to a normal relocation entry because the FixupOffset is more than 24-bits. The bug is in the X86MachObjectWriter::RecordScatteredRelocation() where it changes reference parameter FixedValue but then returns false to indicate it did not create a scattered relocation entry. The fix is simply to save the original value of the parameter FixedValue at the start of the method and restore it if we are returning false in that case. rdar://15526046 llvm-svn: 196432
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud