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