[Bug target/38085] gcc -m64 -pg generates invalid assembler code on Solaris 10/x86

2009-07-30 Thread bennett dot schneider at yahoo dot com
--- Comment #3 from bennett dot schneider at yahoo dot com 2009-07-30 13:06 --- internal_mcount's from and self arguments were reversed from glibc's version. Here's the full diff of gmon-sol2.c that produces correct output: --- gcc/config/i386/gmon-sol2.c.origWed

[Bug target/38085] gcc -m64 -pg generates invalid assembler code on Solaris 10/x86

2009-07-29 Thread bennett dot schneider at yahoo dot com
--- Comment #2 from bennett dot schneider at yahoo dot com 2009-07-29 22:11 --- I've seen the same behaviour and was able to fix two separate issues. First, the @ symbol on the leaq instruction is not necessary. This code is being inserted because NO_PROFILE_COUNTERS is not de