This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/38239] [4.9, 5, 6 regression] The function mcount in gmon.o changes register ecx


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]