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.
This commit is contained in:
H.J. Lu 2016-03-04 08:44:43 -08:00
parent 14a1d7cc4c
commit 97f7112728
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
2016-03-04 Amit Pawar <Amit.Pawar@amd.com>
H.J. Lu <hongjiu.lu@intel.com>

View File

@ -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