This is an archive of the discontinued LLVM Phabricator instance.

[ELF][PPC32] Fix canonical PLTs when the order does not match the PLT order
ClosedPublic

Authored by MaskRay on Feb 28 2020, 5:32 PM.

Diff Detail

Event Timeline

MaskRay created this revision.Feb 28 2020, 5:32 PM
Herald added a project: Restricted Project. · View Herald Transcript

This patch will be needed on FreeBSD to fix some crashes for an lld10-linked FreeBSD powerpc32 world, such as a crash running /usr/bin/objdump -D.

AWESOME, this fixed the clang crash I was seeing with lld10 as well! I think it's possible this might be the last crashing bug blocking ppc32 lld migration.

MaskRay updated this revision to Diff 247401.Feb 28 2020, 7:39 PM

Fix tests

Bdragon28 accepted this revision.Feb 28 2020, 10:18 PM

From a FreeBSD standpoint, I am very happy with this.

This revision is now accepted and ready to land.Feb 28 2020, 10:18 PM
This revision was automatically updated to reflect the committed changes.