aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/x86_64/Makefile
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2016-03-04 08:44:43 -0800
committerH.J. Lu <hjl.tools@gmail.com>2016-03-04 08:44:58 -0800
commit97f7112728fa6f5e2b30af4d085d5f4dedb2b89b (patch)
tree01a96b1e6f32f9ed7a21927db8118a7d0f341ced /sysdeps/x86_64/Makefile
parent14a1d7cc4c4fd5ee8e4e66b777221dd32a84efe8 (diff)
downloadglibc-97f7112728fa6f5e2b30af4d085d5f4dedb2b89b.tar
glibc-97f7112728fa6f5e2b30af4d085d5f4dedb2b89b.tar.gz
glibc-97f7112728fa6f5e2b30af4d085d5f4dedb2b89b.tar.bz2
glibc-97f7112728fa6f5e2b30af4d085d5f4dedb2b89b.zip
Add a comment in sysdeps/x86_64/Makefile
Mention recursive calls when ENTRY is used in _mcount.S. * sysdeps/x86_64/Makefile (sysdep_noprof): Add a comment.
Diffstat (limited to 'sysdeps/x86_64/Makefile')
-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 9fcadd8a57..788e4fc591 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