Yeah, this is a bit a rat hole. Of course there's nothing about RISC-V that precludes the use of the leb128 data formats. We fib that they aren't supported to prevent the DWARF emitters from subtracting label addresses at assembly time. RISC-V linker relaxations foil the assumption that those differences won't change after linking.
On Thu, Aug 29, 2019 at 11:13 PM pinskia at gcc dot gnu.org <gcc-bugzi...@gcc.gnu.org> wrote: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91602 > > --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- > Seems like uleb128 is not supported at all in riscv. This should be fixed on > the gas side. No other target has issues with uleb128.