This is an archive of the discontinued LLVM Phabricator instance.

[ELFYAML] Support arm32 R_ARM_V4BX relocation format
AbandonedPublic

Authored by zatrazz on Apr 15 2015, 11:56 AM.

Details

Summary

ARM32 ELF R_ARM_V4BX relocation format is a special relocation type
that records the location of an ARMv4t BX instruction to enable a
static linker to generate ARMv4 compatible instructions. This
relocation does not contain a reference symbol.

This patch enabled its creation by removing the requeriment of a
relocation symbol target in ELFState<ELFT>::writeSectionContent.

Diff Detail

Event Timeline

zatrazz updated this revision to Diff 23792.Apr 15 2015, 11:56 AM
zatrazz retitled this revision from to [ELFYAML] Support arm32 R_ARM_V4BX relocation format.
zatrazz updated this object.
zatrazz edited the test plan for this revision. (Show Details)
zatrazz added reviewers: ruiu, shankar.easwaran.
zatrazz added subscribers: Unknown Object (MLST), lld.
zatrazz abandoned this revision.Apr 21 2015, 11:16 AM

I will add a test and repost, thanks.