This is an archive of the discontinued LLVM Phabricator instance.

Add R_HEX_B32_PCREL_X and R_HEX_B22_PCREL_X relocations
ClosedPublic

Authored by sidneym on Jun 15 2018, 1:25 PM.

Details

Summary

Add R_HEX_B32_PCREL_X, R_HEX_B22_PCREL_X relocations and a testcase.

Diff Detail

Repository
rLLD LLVM Linker

Event Timeline

sidneym created this revision.Jun 15 2018, 1:25 PM
ruiu accepted this revision.Jul 18 2018, 10:51 AM

LGTM with these fixes.

ELF/Arch/Hexagon.cpp
56–58

Sort.

71

Sort cases alphabetically.

test/ELF/hexagon.s
10

Please insert a blank line after "CHECK" so that each testcase is visually separated.

This revision is now accepted and ready to land.Jul 18 2018, 10:51 AM
sidneym updated this revision to Diff 156278.Jul 19 2018, 8:32 AM

Sorted relocation names

sidneym closed this revision.Jul 19 2018, 1:01 PM