Add ELFReference class - parse relocations needed by that class and update DefinedAto...
authorSid Manning <sidneym@codeaurora.org>
Mon, 17 Sep 2012 12:49:38 +0000 (12:49 +0000)
committerSid Manning <sidneym@codeaurora.org>
Mon, 17 Sep 2012 12:49:38 +0000 (12:49 +0000)
commit8caf4de31fd15917766af6546dfd4da5b7501fc1
tree0fe0a14dec55f0631fc43baa6800c601751df4b5
parenta5a06ea11dccccfc863fe250b067b4d58d06074a
Add ELFReference class - parse relocations needed by that class and update DefinedAtom to use the class.  Tweak coding style.  Add testcase to check relocations. Change was signed-off-by: Michael Spencer

llvm-svn: 164027
lld/lib/ReaderWriter/ELF/ReaderELF.cpp
lld/test/elf/Inputs/reloc-test.elf-i386 [new file with mode: 0644]
lld/test/elf/reloc.objtxt [new file with mode: 0644]