[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/32342] New: readelf (apply_relocations) should handle R_RI
From: |
mark at klomp dot org |
Subject: |
[Bug binutils/32342] New: readelf (apply_relocations) should handle R_RISCV_SET_ULEB128 and R_RISCV_SUB_ULEB128 |
Date: |
Tue, 05 Nov 2024 23:46:15 +0000 |
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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug binutils/32342] New: readelf (apply_relocations) should handle R_RISCV_SET_ULEB128 and R_RISCV_SUB_ULEB128,
mark at klomp dot org <=