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

--- Comment #18 from rguenther at suse dot de ---
On Wed, 17 Jul 2024, hjl.tools at gmail dot com wrote:

> https://sourceware.org/bugzilla/show_bug.cgi?id=31956
> 
> --- Comment #17 from H.J. Lu <hjl.tools at gmail dot com> ---
> (In reply to Richard Biener from comment #16)
> 
> > But the linker itself, via --wrap will create a reference to the symbol.
> > With PREVAILING_DEF_IRONLY the compiler is free to elide the symbol,
> > so IMO that's invalid even if the linkers reference will later be "internal"
> 
> This is what I got with binutils 2.43:
> 
> 194 af2188219cd4cf4 PREVAILING_DEF __wrap_cook
> 198 af2188219cd4cf4 PREVAILING_DEF main
> 214 af2188219cd4cf4 RESOLVED_IR cook

That looks OK to me (I'm still on 2.41)

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

Reply via email to