[PATCH] [PATCH 08/13] ELF/Aarch64: Fix R_AARCH64_ADR_GOT_PAGE write and some cleanus

Adhemerval Zanella adhemerval.zanella at linaro.org
Tue Mar 31 10:54:22 PDT 2015


This patch fixes the R_AARCH64_ADR_GOT_PAGE write by using the correct values
on final write and also adds some cleanups:

* Use write{16,32,64}le and read{16,32,64}le on relocR_AARCH64_ABS16,
  relocR_AARCH64_ABS16, relocR_AARCH64_PREL32, relocR_AARCH64_PREL16,

* Add error core for unaligned cases for relocR_AARCH64_LD64_GOT_LO12_NC.

http://reviews.llvm.org/D8734

Files:
  lib/ReaderWriter/ELF/AArch64/AArch64RelocationHandler.cpp
  lib/ReaderWriter/ELF/TargetHandler.h

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8734.22980.patch
Type: text/x-patch
Size: 6290 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150331/2d3eea30/attachment.bin>


More information about the llvm-commits mailing list