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 -- You are receiving this mail because: You are on the CC list for the bug.