This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Add support for R_AMDGPU_REL32 relocations
ClosedPublic

Authored by tstellarAMD on Jun 15 2016, 1:02 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

tstellarAMD retitled this revision from to AMDGPU: Add support for R_AMDGPU_REL32 relocations.
tstellarAMD updated this object.
tstellarAMD added a subscriber: llvm-commits.
rafael edited edge metadata.Jun 16 2016, 9:33 AM

You can probably split the codegen part in its own. I.E.: This patch can avoid the changes to RelocVisitor.h, AMDGPU.def and AMDGPUELFObjectWriter.cpp . Those can then be an independent patch.

kzhuravl added inline comments.Jun 16 2016, 9:51 AM
include/llvm/Object/RelocVisitor.h
146 ↗(On Diff #60886)

Why do we treat rel32 same as abs32_lo/hi?

tstellarAMD edited edge metadata.

Split changes outside of lib/Target/AMDGPU into a new patch: http://reviews.llvm.org/D21443

This is fine by me, but someone familiar with the backend should give the final approval.

kzhuravl accepted this revision.Jun 17 2016, 1:59 PM
kzhuravl edited edge metadata.

LGTM

This revision is now accepted and ready to land.Jun 17 2016, 1:59 PM
This revision was automatically updated to reflect the committed changes.