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)
commit0942e39061c5d095e3d4cdeb6658ef00c9bf8c1c
tree28b6fe1a1a4ce96bb7bdd9ad61b1e4b547eed356
parent066f50a251bf03055168d6c8ba30088b19835f53
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

llvm-svn: 213665
llvm/lib/Target/X86/MCTargetDesc/X86MCAsmInfo.cpp
llvm/test/MC/MachO/eh-frame-reloc.s