https://sourceware.org/bugzilla/show_bug.cgi?id=34256
Bug ID: 34256
Summary: [RISC-V] GNU ld.bfd non-default IFUNC mixed-reference
non-canonical address on RISC-V
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 16765
--> https://sourceware.org/bugzilla/attachment.cgi?id=16765&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 emits non-canonical mixed outputs
for same-DSO non-default IFUNC address-taking references.
Expected: Link valid RISC-V shared objects that define a same-DSO non-default
GNU IFUNC `foo` whose resolver explicitly returns `foo_impl`, while the same
image takes `&foo` both through a direct PC-relative materialization and
through a data or GOT reference.
--
You are receiving this mail because:
You are on the CC list for the bug.