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

--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Vladislav Ivanishin from comment #3)
> GCC does not tell it needs the printf symbol, because it's a builtin function
> (prog.c is compiled without -fno-builtin).
> 

Although printf is a builtin function, it doesn't mean that GCC doesn't
need an external symbol, which doesn't have to be printf, to implement
the builtin function.  GCC should put that external symbol in the LTO
symbol table.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to