https://sourceware.org/bugzilla/show_bug.cgi?id=27215
--- Comment #6 from Jim Wilson <wilson at gcc dot gnu.org> --- There is a problem if at least one label is in the text section. So yes, we could support this for debug info sections. On the compiler side, there is no way currently to tell the compiler that uleb128 is OK for debug section labels but not text section labels. All targets that do linker relaxation are broken with respect to uleb128 except RISC-V. The others just haven't noticed the problem yet. The problem is more noticeable for RISC-V than the other targets, because we do more linker relaxation than most other targets. See for instance https://sourceware.org/bugzilla/show_bug.cgi?id=22756#c2 for some other linker relaxation issues that are broken everywhere except RISC-V. -- You are receiving this mail because: You are on the CC list for the bug.