This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] AArch64 - Add parameter to __mount routine


Hi Maintainers,

Attached is a small patch which adds a parameter to __mcount routine.

We would like to make the compiler pass the "frompc" address from the function
that calls __mcount during profiling.

ref: http://gcc.gnu.org/ml/gcc-patches/2013-08/msg01556.html

This patch is cross tested in ARMV8 foundation model. No new regressions found.

If it is ok, someone please commit on my behalf.

2013-09-15  Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>

        * sysdeps/aarch64/machine-gmon.h (__mcount): Accept parameter and
          pass it to mcount_internal.

regards,
Venkat.

Attachment: glibc.gprof.diff
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]