[PATCH] [RuntimeDyld] Adapt PPC64 relocations to PPC32

Pierre-Andre Saulais pierre-andre at codeplay.com
Fri May 29 08:58:04 PDT 2015


Thanks for looking at the patch.

I have added a llvm-rtdyld testcase for 'R_PPC_ADDR16_LO' and 'R_PPC_ADDR16_HA' relocation types. It seems to work on my VM by running the commands manually. I haven't got around to test it with 'lit' yet however, as I currently cross-compile LLVM outside of the VM.

I also removed the code for 'R_PPC_REL32' since it is not exercised by the test case. It will be part of another patch once I write a test case for it.


REPOSITORY
  rL LLVM

http://reviews.llvm.org/D9998

Files:
  lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
  lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h
  test/ExecutionEngine/RuntimeDyld/PowerPC/lit.local.cfg
  test/ExecutionEngine/RuntimeDyld/PowerPC/ppc32_elf_rel_addr16.ll
  test/ExecutionEngine/RuntimeDyld/PowerPC/ppc32_elf_rel_addr16.s

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9998.26784.patch
Type: text/x-patch
Size: 5292 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150529/33893928/attachment.bin>


More information about the llvm-commits mailing list