mold linker creates symbols for PLT entries and that caught BOLT by
surprise. Add the support for marked PLT entries.
Fixes: #58498
Paths
| Differential D136655
[BOLT] Add mold-style PLT support ClosedPublic Authored by maksfb on Oct 24 2022, 6:35 PM.
Details
Diff Detail
Event TimelineComment Actions LGTM thanks!
This revision is now accepted and ready to land.Oct 24 2022, 10:03 PM
Closed by commit rG20204db50389: [BOLT] Add mold-style PLT support (authored by maksfb). · Explain WhyOct 25 2022, 11:04 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 470349 bolt/lib/Rewrite/RewriteInstance.cpp
bolt/test/X86/Inputs/plt-mold.yaml
bolt/test/X86/plt-mold.test
|
May I ask why it is "printf$plt and not printf@PLT? Is there a typo?