Refactor MachO relocation generaration into the Target directories.
authorJim Grosbach <grosbach@apple.com>
Fri, 24 Jun 2011 23:44:37 +0000 (23:44 +0000)
committerJim Grosbach <grosbach@apple.com>
Fri, 24 Jun 2011 23:44:37 +0000 (23:44 +0000)
commitba8297ec08cdf7ae0c1e0c18ce07922e1f822643
tree6139e111cbaf58b7f4f4c31ca787d010f3c09da4
parente6b8bf8c4a74d48ad5c46c37f3754361acdeda61
Refactor MachO relocation generaration into the Target directories.

Move the target-specific RecordRelocation logic out of the generic MC
MachObjectWriter and into the target-specific object writers. This allows
nuking quite a bit of target knowledge from the supposedly target-independent
bits in lib/MC.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133844 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCMachObjectWriter.h
lib/MC/MachObjectWriter.cpp
lib/Target/ARM/ARMMachObjectWriter.cpp
lib/Target/PowerPC/PPCAsmBackend.cpp
lib/Target/X86/X86MachObjectWriter.cpp