[Bug target/38239] [4.9, 5, 6 regression] The function mcount in gmon.o changes register ecx
ro at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Mar 21 11:25:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38239
--- Comment #8 from Rainer Orth <ro at gcc dot gnu.org> ---
Author: ro
Date: Mon Mar 21 11:24:40 2016
New Revision: 234366
URL: https://gcc.gnu.org/viewcvs?rev=234366&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 <ro@CeBiTec.Uni-Bielefeld.DE>
PR target/38239
* config/gmon-sol2.c [__i386__] (_mcount): Save and restore
call-clobbered registers.
(internal_mcount): Remove __i386__ handling.
Modified:
branches/gcc-4_9-branch/libgcc/ChangeLog
branches/gcc-4_9-branch/libgcc/config/gmon-sol2.c
More information about the Gcc-bugs
mailing list