From 87a07a437656aede6f303688b55ae1834962bee2 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Thu, 3 Mar 2016 06:55:59 -0800 Subject: 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. --- gmon/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gmon/Makefile') diff --git a/gmon/Makefile b/gmon/Makefile index abb96d7..c7c9e58 100644 --- a/gmon/Makefile +++ b/gmon/Makefile @@ -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 -- cgit v1.1