We would previously fail to handle 64-bit PC-relative relocations on RISCV. This was exposed by trying to build with `-fprofile-instr-generate`.
The original changes restricted the relocation handling to the text
segment as the paired relocations are undesirable in at least the debug
and .eh_frame sections. We now make this explicit to handle the general
case for the data relocations as well.
It would be preferable to use R_RISCV_n_PCREL when available to avoid
an extra relocation.
Fixes: #55971
Fixes: #55971
Nit: maybe clarify that it's been proposed as part of the draft specs for the compact and large code models but not yet adopted. Otherwise people might not know what it's meant by "when available".