]> sourceware.org Git - glibc.git/commitdiff
Add a comment in sysdeps/x86_64/Makefile
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 4 Mar 2016 16:44:43 +0000 (08:44 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 4 Mar 2016 16:44:58 +0000 (08:44 -0800)
Mention recursive calls when ENTRY is used in _mcount.S.

* sysdeps/x86_64/Makefile (sysdep_noprof): Add a comment.

ChangeLog
sysdeps/x86_64/Makefile

index 7b36bd732dea8c498618a8244e4c490edb56eb55..59e8feb40d9766c1082147920a4d7de0d3c1101c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
+
 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
            H.J. Lu  <hongjiu.lu@intel.com>
 
index 9fcadd8a57d3abafaf7dadaa881ad386963b1c80..788e4fc591d11662bb1b50388d259c5196a9dba9 100644 (file)
@@ -7,6 +7,9 @@ endif
 
 ifeq ($(subdir),gmon)
 sysdep_routines += _mcount
+# We cannot compile _mcount.S with -pg because that would create
+# recursive calls when ENTRY is used.  Just copy the normal static
+# object.
 sysdep_noprof += _mcount
 endif
 
This page took 0.180836 seconds and 5 git commands to generate.