From: H.J. Lu Date: Fri, 4 Mar 2016 16:44:43 +0000 (-0800) Subject: Add a comment in sysdeps/x86_64/Makefile X-Git-Tag: glibc-2.24~526 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=97f7112728fa6f5e2b30af4d085d5f4dedb2b89b;p=glibc.git 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. --- diff --git a/ChangeLog b/ChangeLog index 7b36bd732d..59e8feb40d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2016-03-04 H.J. Lu + + * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments. + 2016-03-04 Amit Pawar H.J. Lu diff --git a/sysdeps/x86_64/Makefile b/sysdeps/x86_64/Makefile index 9fcadd8a57..788e4fc591 100644 --- a/sysdeps/x86_64/Makefile +++ b/sysdeps/x86_64/Makefile @@ -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