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: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 08 Jun 2015 10:27:54 +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 #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Yes you don't define NO_PROFILE_COUNTERS . That is the default i386-elf
target defaults to NO_PROFILE_COUNTERS not being defined.