about summary refs log tree commit diff
path: root/sysdeps/x86_64/Makefile
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2016-03-03 06:55:59 -0800
committerH.J. Lu <hjl.tools@gmail.com>2016-03-03 06:56:22 -0800
commit87a07a437656aede6f303688b55ae1834962bee2 (patch)
tree62fc6c947d315a8050c3a81873b315d0171dd361 /sysdeps/x86_64/Makefile
parentec215346b92fdaef5d8042b5545e16beb7ccc7d1 (diff)
downloadglibc-87a07a437656aede6f303688b55ae1834962bee2.tar.gz
glibc-87a07a437656aede6f303688b55ae1834962bee2.tar.xz
glibc-87a07a437656aede6f303688b55ae1834962bee2.zip
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.
Diffstat (limited to 'sysdeps/x86_64/Makefile')
-rw-r--r--sysdeps/x86_64/Makefile1
1 files changed, 1 insertions, 0 deletions
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)