[ARC] Add support for profiling in glibc.
authorClaudiu Zissulescu <claziss@synopsys.com>
Tue, 13 Nov 2018 12:51:41 +0000 (13:51 +0100)
committerClaudiu Zissulescu <claziss@gcc.gnu.org>
Tue, 13 Nov 2018 12:51:41 +0000 (13:51 +0100)
commit9de6af4572105dbe63074d09b8c322464daec2e7
tree701d22462fb8e2e5f24ac4351555887d2e1be97e
parentdddc18157283e3ab2a3a4c32ededae2386a54bb3
[ARC] Add support for profiling in glibc.

Use PROFILE_HOOK to add mcount library calls in each toolchain.

gcc/
xxxx-xx-xx  Claudiu Zissulescu  <claziss@synopsys.com>

* config/arc/arc.h (FUNCTION_PROFILER): Redefine to empty.
* config/arc/elf.h (PROFILE_HOOK): Define.
* config/arc/linux.h (PROFILE_HOOK): Likewise.

From-SVN: r266068
gcc/ChangeLog
gcc/config/arc/arc.h
gcc/config/arc/elf.h
gcc/config/arc/linux.h