aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2016-03-04 05:44:17 -0800
committerH.J. Lu <hjl.tools@gmail.com>2016-03-04 05:44:17 -0800
commit13028531b6f7d957a753f57c1d29165ec421bd19 (patch)
tree3f72fe6ffd3b9df14f9fe0be5cfcd877ef3e7eff
parent4b230f6a60f3bb9cae92306d016535f40578ff2e (diff)
downloadglibc-hjl/mempcpy.zip
glibc-hjl/mempcpy.tar.gz
glibc-hjl/mempcpy.tar.bz2
Add a comment in sysdeps/x86_64/Makefilehjl/mempcpy
Mention recursive calls when ENTRY is used in _mcount.S. * sysdeps/x86_64/Makefile (sysdep_noprof): Add a comment.
-rw-r--r--sysdeps/x86_64/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/x86_64/Makefile b/sysdeps/x86_64/Makefile
index 9fcadd8..788e4fc 100644
--- a/sysdeps/x86_64/Makefile
+++ b/sysdeps/x86_64/Makefile
@@ -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