X86: drop relocations on __eh_frame sections globally.
authorTim Northover <tnorthover@apple.com>
Tue, 22 Jul 2014 15:47:09 +0000 (15:47 +0000)
committerTim Northover <tnorthover@apple.com>
Tue, 22 Jul 2014 15:47:09 +0000 (15:47 +0000)
commit50f2f1434c74cc5ba20008bd097421a28d0f0738
treecad7d78022b1d86a8055930a073062bc6a7f178c
parent153dc48cd3d9db1baf121e0a093f81bf0e84ce1a
X86: drop relocations on __eh_frame sections globally.

Without this, we produce non-extern relocations when targeting older OS X
versions that ld64 can't cope with in the particular context of __eh_frame
sections (who'd want generic relocation-processing anyway?).

This means that an updated linker (ld64 from Xcode 3.2.6 or later) may be
needed when targeting such platforms with a modern version of LLVM, but this is
probably the case anyway and a reasonable requirement.

PR20212, rdar://problem/17544795

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213665 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/MCTargetDesc/X86MCAsmInfo.cpp
test/MC/MachO/eh-frame-reloc.s