https://sourceware.org/bugzilla/show_bug.cgi?id=34264
Bug ID: 34264
Summary: [RISC-V] RISC-V TLS IE explicit addend wrong output
Product: binutils
Version: 2.45
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: l784896635 at gmail dot com
Target Milestone: ---
Created attachment 16773
--> https://sourceware.org/bugzilla/attachment.cgi?id=16773&action=edit
Reduced testcase
I reduced this to the attached RISC-V testcase and can reproduce it 3/3 times.
Observed: GNU ld.bfd links successfully but for `la.tls.ie a0, tls+4` emits
dynamic `R_RISCV_TLS_TPREL32/64` addend 0.
Expected: Link valid RISC-V shared objects whose TLS Initial-Exec access uses
an explicit addend, for example `la.tls.ie a0, tls+4`.
--
You are receiving this mail because:
You are on the CC list for the bug.