Skip to content

Commit

Permalink
Add a comment in sysdeps/x86_64/Makefile
Browse files Browse the repository at this point in the history
Mention recursive calls when ENTRY is used in _mcount.S.

	* sysdeps/x86_64/Makefile (sysdep_noprof): Add a comment.
  • Loading branch information
H.J. Lu committed Mar 4, 2016
1 parent 14a1d7c commit 97f7112
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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>

Expand Down
3 changes: 3 additions & 0 deletions sysdeps/x86_64/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 97f7112

Please sign in to comment.