mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-21 12:30:06 +00:00
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.
This commit is contained in:
parent
ec215346b9
commit
87a07a4376
@ -1,3 +1,8 @@
|
||||
2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* gmon/Makefile (noprof): Add $(sysdep_noprof).
|
||||
* sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
|
||||
|
||||
2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
|
||||
|
@ -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
|
||||
|
@ -7,6 +7,7 @@ endif
|
||||
|
||||
ifeq ($(subdir),gmon)
|
||||
sysdep_routines += _mcount
|
||||
sysdep_noprof += _mcount
|
||||
endif
|
||||
|
||||
ifeq ($(subdir),malloc)
|
||||
|
Loading…
Reference in New Issue
Block a user