* Add relocation reference support for Hexagon and PowerPC.
authorSid Manning <sidneym@codeaurora.org>
Tue, 9 Oct 2012 02:20:47 +0000 (02:20 +0000)
committerSid Manning <sidneym@codeaurora.org>
Tue, 9 Oct 2012 02:20:47 +0000 (02:20 +0000)
commit42064e5b603e46abadc9adea24c49d5c1a4b259b
treeb148abf437ac41e38f931f51102df0846f105b99
parent503eb2bb49f05c762fd79e42cb96ac6e86f0691e
  * Add relocation reference support for Hexagon and PowerPC.
    - Hexagon has many relocation types, this patch covers just
      a subset, more will be added.
    - PowerPC support was added so that we can verify mixed endian
      environments.
  * Add some basic test cases
  * Update ldd-core to accept -endian flag

llvm-svn: 165477
13 files changed:
lld/lib/ReaderWriter/ELF/CMakeLists.txt
lld/lib/ReaderWriter/ELF/HexagonReference.cpp [new file with mode: 0644]
lld/lib/ReaderWriter/ELF/PPCReference.cpp [new file with mode: 0644]
lld/lib/ReaderWriter/ELF/ReferenceKinds.cpp
lld/lib/ReaderWriter/ELF/ReferenceKinds.h
lld/lib/ReaderWriter/ELF/WriterELF.cpp
lld/test/elf/Inputs/branch-test.hexagon [new file with mode: 0644]
lld/test/elf/Inputs/branch-test.ppc [new file with mode: 0644]
lld/test/elf/Inputs/target-test.hexagon [new file with mode: 0644]
lld/test/elf/Inputs/target-test.ppc [new file with mode: 0644]
lld/test/elf/branch.objtxt [new file with mode: 0644]
lld/test/elf/ppc.objtxt [new file with mode: 0644]
lld/tools/lld-core/lld-core.cpp