MC/Mach-O/x86_64: Add a new hook for checking whether a particular section can
authorDaniel Dunbar <daniel@zuster.org>
Wed, 12 May 2010 00:38:17 +0000 (00:38 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Wed, 12 May 2010 00:38:17 +0000 (00:38 +0000)
commita5f1d57f65ae601ec181c0f4e36cf0df5e8d79d8
tree99cbdd963a1c49327eda3dd44b4ee76b3d797bd9
parent85f4fdaed4fcc6050499579152c45fde679213d3
MC/Mach-O/x86_64: Add a new hook for checking whether a particular section can
be diced into atoms, and adjust getAtom() to take this into account.
 - This fixes relocations to symbols in fixed size literal sections, for
   example.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103532 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetAsmBackend.h
lib/MC/MCAssembler.cpp
lib/Target/X86/X86AsmBackend.cpp
test/MC/MachO/darwin-x86_64-reloc.s