lld: include reloc .dynamic tags when only ifunc relocations exist
Needs ReviewPublic

Authored by emaste on Fri, Dec 29, 6:23 PM.

Details

Reviewers
dim
Summary

Backported version of upstream https://reviews.llvm.org/D41592
LLVM PR 35751 - .dynamic relocation entries omitted if output contains only IFUNC relocations

Diff Detail

Lint
Lint Skipped
Unit
Unit Tests Skipped
emaste created this revision.Fri, Dec 29, 6:23 PM
dim accepted this revision.Fri, Dec 29, 8:38 PM

LGTM

This revision is now accepted and ready to land.Fri, Dec 29, 8:38 PM
emaste updated this revision to Diff 37212.Sat, Dec 30, 12:11 AM

It looks like D41592 depends on liveness tracking changes that are not in 5.0. Use a slightly hackish approach that works with 5.0 instead.

This revision now requires review to proceed.Sat, Dec 30, 12:11 AM