Displaying 1 result from an estimated 1 matches for "d38180".
Did you mean:
138180
2018 Jan 29
0
[lld] Garbage collection of linked sections with the SHF_LINK_ORDER flag
...atch.
>
>Thanks!
>
>Cheers,
>Robert
Hi Robert,
current support of SHF_LINK_ORDER in LLD is poor for ICF case.
ICF is not aware of link order dependencies when do its job.
And I think ARM target is assumed to be the only user of SHF_LINK_ORDER atm.
You might want to take a look at D38180 which tried
to improve the situation (and I believe would address the issue) but was not landed.
It also probably shows the expected behavior. If we have section A and B, where
B is linked with A, and also sections C and D where D is linked to C, and A == C, ICF should only
merge A and C when linke...