This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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 ?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]