https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38239
--- Comment #7 from Rainer Orth <ro at gcc dot gnu.org> --- Author: ro Date: Mon Mar 21 11:18:33 2016 New Revision: 234365 URL: https://gcc.gnu.org/viewcvs?rev=234365&root=gcc&view=rev Log: Save call-clobbered registers in _mcount on 32-bit Solaris/x86 (PR target/38239) Backport from mainline 2016-03-16 Rainer Orth <r...@cebitec.uni-bielefeld.de> PR target/38239 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore call-clobbered registers. (internal_mcount): Remove __i386__ handling. Modified: branches/gcc-5-branch/libgcc/ChangeLog branches/gcc-5-branch/libgcc/config/sol2/gmon.c