]> sourceware.org Git - glibc.git/commitdiff
Copy x86_64 _mcount.op from _mcount.o
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 3 Mar 2016 14:55:59 +0000 (06:55 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 3 Mar 2016 14:56:22 +0000 (06:56 -0800)
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.

ChangeLog
gmon/Makefile
sysdeps/x86_64/Makefile

index 787fef118f10ef9381d9597a7d7f8fbff4704add..a31f95a80de16236b947a9570c17514d2805f2c5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * gmon/Makefile (noprof): Add $(sysdep_noprof).
+       * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
+
 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
 
        * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
index abb96d70d2e81ee16084082b71531ba807b26b76..c7c9e58e01197ea7359e1a051c0568024ffd89a5 100644 (file)
@@ -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
index 67ed5ba2139327eb7117436fce55f8da7fe1fd51..9fcadd8a57d3abafaf7dadaa881ad386963b1c80 100644 (file)
@@ -7,6 +7,7 @@ endif
 
 ifeq ($(subdir),gmon)
 sysdep_routines += _mcount
+sysdep_noprof += _mcount
 endif
 
 ifeq ($(subdir),malloc)
This page took 0.166894 seconds and 5 git commands to generate.