This is an archive of the discontinued LLVM Phabricator instance.

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

Authored by zatrazz on Mar 31 2015, 10:54 AM.

Details

Reviewers
None
Group Reviewers
lld
Summary

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.

Diff Detail

Event Timeline

zatrazz updated this revision to Diff 22980.Mar 31 2015, 10:54 AM
zatrazz retitled this revision from to [PATCH 08/13] ELF/Aarch64: Fix R_AARCH64_ADR_GOT_PAGE write and some cleanus.
zatrazz updated this object.
zatrazz edited the test plan for this revision. (Show Details)
zatrazz added a reviewer: lld.
zatrazz added a project: lld.
zatrazz added a subscriber: Unknown Object (MLST).
zatrazz abandoned this revision.Apr 6 2015, 12:46 PM