[Bug target/66457] gcc generates an extra "mov ??, %edx" before "call mcount" when "-pg" is enabled in cross compilation

leedypku at gmail dot com gcc-bugzilla@gcc.gnu.org
Mon Jun 8 13:41:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66457

--- Comment #6 from Dangyi Liu <leedypku at gmail dot com> ---
(In reply to Andrew Pinski from comment #4)
> Yes you don't define  NO_PROFILE_COUNTERS .  That is the default i386-elf
> target defaults to NO_PROFILE_COUNTERS not being defined.

Thank you very much!!! But I don't know how to define this macro during
building phase, and I can't find any useful information using Google. Could you
help me ?



More information about the Gcc-bugs mailing list