From: H.J. Lu Date: Thu, 3 Mar 2016 14:55:59 +0000 (-0800) Subject: Copy x86_64 _mcount.op from _mcount.o X-Git-Tag: glibc-2.24~532 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=87a07a437656aede6f303688b55ae1834962bee2;p=glibc.git Copy x86_64 _mcount.op from _mcount.o No need to compile x86_64 _mcount.S with -pg. We can just copy the normal static object. * gmon/Makefile (noprof): Add $(sysdep_noprof). * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount. --- diff --git a/ChangeLog b/ChangeLog index 787fef118f..a31f95a80d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2016-03-03 H.J. Lu + + * gmon/Makefile (noprof): Add $(sysdep_noprof). + * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount. + 2016-03-01 H.J. Lu * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call diff --git a/gmon/Makefile b/gmon/Makefile index abb96d70d2..c7c9e58e01 100644 --- a/gmon/Makefile +++ b/gmon/Makefile @@ -45,7 +45,7 @@ include ../Rules # On systems where `profil' is not a system call, the same # problem exists for the internal functions in profil.c. -noprof := mcount +noprof := mcount $(sysdep_noprof) ifeq (,$(filter profil,$(unix-syscalls))) noprof += profil sprofil endif diff --git a/sysdeps/x86_64/Makefile b/sysdeps/x86_64/Makefile index 67ed5ba213..9fcadd8a57 100644 --- a/sysdeps/x86_64/Makefile +++ b/sysdeps/x86_64/Makefile @@ -7,6 +7,7 @@ endif ifeq ($(subdir),gmon) sysdep_routines += _mcount +sysdep_noprof += _mcount endif ifeq ($(subdir),malloc)