This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/66457] gcc generates an extra "mov ??, %edx" before "call mcount" when "-pg" is enabled in cross compilation
- From: "leedypku at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 08 Jun 2015 13:41:02 +0000
- Subject: [Bug target/66457] gcc generates an extra "mov ??, %edx" before "call mcount" when "-pg" is enabled in cross compilation
- Auto-submitted: auto-generated
- References: <bug-66457-4 at http dot gcc dot gnu dot org/bugzilla/>
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 ?