This is an archive of the discontinued LLVM Phabricator instance.

[ELF] Prevent ARM ELF object writer from generating deprecated relocation code R_ARM_PLT32
ClosedPublic

Authored by jyoti.allur on Nov 19 2014, 12:24 AM.

Details

Summary

This patch implements
4.6.1.11 Deprecated relocations of ARM IHI 0044E
Deprecated relocations are in the process of being retired from the specification and may be removed or marked
obsolete in future revisions. An object file containing these codes is still conforming, but producers should be
changed to use the new alternatives.

Relocation Replacement
R_ARM_PLT32 Use R_ARM_CALL or R_ARM_JUMP24

Diff Detail

Event Timeline

jyoti.allur retitled this revision from to [ELF] Prevent ARM ELF object writer from generating deprecated relocation code R_ARM_PLT32.
jyoti.allur updated this object.
jyoti.allur edited the test plan for this revision. (Show Details)
jyoti.allur added reviewers: rafael, compnerd.
jyoti.allur set the repository for this revision to rL LLVM.
jyoti.allur added a subscriber: Unknown Object (MLST).
compnerd accepted this revision.Nov 19 2014, 12:17 PM
compnerd edited edge metadata.

Thanks for fixing this.

This revision is now accepted and ready to land.Nov 19 2014, 12:17 PM