https://sourceware.org/bugzilla/show_bug.cgi?id=32342
Bug ID: 32342 Summary: readelf (apply_relocations) should handle R_RISCV_SET_ULEB128 and R_RISCV_SUB_ULEB128 Product: binutils Version: unspecified Status: NEW Severity: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: mark at klomp dot org Target Milestone: --- readelf (apply_relocations) should handle R_RISCV_SET_ULEB128 and R_RISCV_SUB_ULEB128 To reproduce on riscv64-unknown-linux-gnu with gcc 14.2.0 $ echo "int main(){}" >z.c $ gcc -g -O2 -c z.c $ readelf -Wr z.o | grep ULEB128 0000000000000015 0000001f0000003c R_RISCV_SET_ULEB128 0000000000000004 .LFE0 + 0 0000000000000015 0000001e0000003d R_RISCV_SUB_ULEB128 0000000000000000 .LFB0 + 0 $ readelf --debug-dump=info z.o readelf: Warning: unable to apply unsupported reloc type 60 to section .debug_rnglists readelf: Warning: unable to apply unsupported reloc type 61 to section .debug_rnglists -- You are receiving this mail because: You are on the CC list for the bug.