> I am not sure what's the right approach for fixing this. Should
.secrel32
> be used on all platforms, or just for Windows PE-COFF? Can somebody
> familiar with intricacies of DWARF format on different platforms please
> comment of this?
section-relative offsets should be used on COFF.
Well, not everywhere it seems: for references into the .text section, gcc
still uses .long <offset from beginning of .text>
Can you fill the PR with short reproducer?
Are you referring to this: How to submit an LLVM bug report — LLVM 18.0.0git documentation ?
Sorry, I'm new here.
Vadim