[PATCH] D51124: [PPC64] Fix DQ-form instruction handeling and emit error for misalignment on a *_DS relocations
Sean Fertile via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 22 13:16:34 PDT 2018
sfertile created this revision.
sfertile added reviewers: syzaara, ruiu, rdhindsa.
Herald added subscribers: kbarton, arichardson, nemanjai, emaste.
Herald added a reviewer: espindola.
Patch fixes the handling of *_DS relocations used on DQ-form instructions where we were overwriting some of the extended opcode bits. Also adds an alignment check so that the user will receive a diagnostic error if the value we are writing isn't properly aligned.
Repository:
rLLD LLVM Linker
https://reviews.llvm.org/D51124
Files:
ELF/Arch/PPC64.cpp
test/ELF/ppc64-dq.s
test/ELF/ppc64-error-missaligned-dq.s
test/ELF/ppc64-error-missaligned-ds.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51124.162031.patch
Type: text/x-patch
Size: 5199 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180822/dd4ef32f/attachment.bin>
More information about the llvm-commits
mailing list