https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91602
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Note, on the DWARF side it has been agreed to get rid of the requirement that uleb128/sleb128 has to be minimum possible length and I think all consumers known to me will not mind non-minimal leb128 as long as it isn't padded too much (i.e. fits within 10 bytes or so). So, even heavy relaxations in the assembler and the linker shouldn't prevent leb128 support, all one needs for linker relaxations is ULEB128 and SLEB128 relocation that allows subtraction of two symbols. But what do you do for non-LEB128 symbol subtractions? Do you have relocations for lab1 - lab2 if one has .quad lab1 - lab2 + 15 ?