This is an archive of the discontinued LLVM Phabricator instance.

[ELF][PPC32] Support .got2 in an output section description
AbandonedPublicDraft

Authored by MaskRay on Dec 21 2021, 9:08 PM.

Details

Reviewers
Bdragon28
Summary

I added PPC32Got2Section D62464 to support .got2 but did not implement .got2
in another output section.

PR52799 has a linker script placing .got2 in .rodata, which causes a null
pointer dereference because a MergeSyntheticSection's file is nullptr.
Add the support.

Diff Detail