llvm-mc/Mach-O: Add support for relocations.
authorDaniel Dunbar <daniel@zuster.org>
Wed, 26 Aug 2009 13:58:10 +0000 (13:58 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Wed, 26 Aug 2009 13:58:10 +0000 (13:58 +0000)
commit3f6a960f9c9ad27f2ac573020df414e8b8cdda04
tree0207ce4dc49bf5e6867099a361ccb91e3dd56273
parentbe9635569401b9a40984c02c6e171aa9da9ad0a2
llvm-mc/Mach-O: Add support for relocations.
 - I haven't really tried to find the "right" way to store the fixups or apply
   them, yet. This works, but isn't particularly elegant or fast.

 - Still no evaluation support, so we don't actually ever not turn a fixup into
   a relocation entry.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80089 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCAssembler.h
lib/MC/MCAssembler.cpp
test/MC/MachO/reloc.s [new file with mode: 0644]