
https://discourse.llvm.org/t/rfc-profile-guided-static-data-partitioning/83744 proposes to partition a static data section (like `.data.rel.ro`) into two sections, one grouping the cold ones and the other grouping the rest. lld requires all relro sections to be contiguous. To place `.data.rel.ro.unlikely` in the middle of all relro sections, this change proposes to add `.data.rel.ro.unlikely` explicitly as RELRO section. --------- Co-authored-by: Sam Elliott <quic_aelliott@quicinc.com>