bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/27215] as: Error: non-constant .uleb128 is not supported on ris


From: wilson at gcc dot gnu.org
Subject: [Bug gas/27215] as: Error: non-constant .uleb128 is not supported on riscv64
Date: Fri, 26 Feb 2021 16:29:04 +0000

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]