This is an archive of the discontinued LLVM Phabricator instance.

[ELF] - X86_64: don't allow 8/16 bit dynamic relocations.
ClosedPublic

Authored by grimar on Apr 2 2018, 2:58 AM.

Diff Detail

Repository
rLLD LLVM Linker

Event Timeline

grimar created this revision.Apr 2 2018, 2:58 AM
ruiu accepted this revision.Apr 2 2018, 10:50 AM

LGTM

This revision is now accepted and ready to land.Apr 2 2018, 10:50 AM
espindola accepted this revision.Apr 2 2018, 4:41 PM

LGTM

Two suggestion for followups:

Rename isPicRel. This is not really about being position independent, it is about the dynamic linker supporting these.
Use a while list instead.

This revision was automatically updated to reflect the committed changes.
grimar added a comment.Apr 4 2018, 4:48 AM

LGTM

Two suggestion for followups:

Rename isPicRel. This is not really about being position independent, it is about the dynamic linker supporting these.
Use a while list instead.

Thanks for the suggestions! I prepared D45248 and D45252 to address them.