https://sourceware.org/bugzilla/show_bug.cgi?id=34263

            Bug ID: 34263
           Summary: [RISC-V] RISC-V TLS GD 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 16772
  --> https://sourceware.org/bugzilla/attachment.cgi?id=16772&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.gd a0, tls+4` leaves
the local static GD addend word equal to the plain control instead of the
offset-symbol control.
Expected: Link valid RISC-V shared objects whose TLS Global-Dynamic access uses
an explicit addend, for example `la.tls.gd a0, tls+4`.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to