opnsense-src/lib/libc/aarch64
Andrew Turner 2e38975e5a Add an implementation of .mcount on arm64
To support cc -pg on arm64 we need to implement .mcount. As clang and
gcc think it is function like it just needs to load the arguments
to _mcount and call it.

On gcc the first argument is passed in x0, however this is missing on
clang so we need to load it from the stack. As it's the caller return
address this will be at a known location.

PR:		262709
Reviewed by:	emaste (earlier version)
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D34634

(cherry picked from commit 16d5f9a164)
2022-04-19 10:18:02 +01:00
..
gen libc: add _get_tp() private function 2021-04-23 14:14:07 +03:00
string Revert "Switch to Arm Optimized Routines for mem* & str*" 2021-12-14 12:34:09 +00:00
sys Add sched_getcpu() 2022-01-14 18:17:29 +02:00
_fpmath.h
arith.h
gd_qnan.h
Makefile.inc
static_tls.h
Symbol.map Add an implementation of .mcount on arm64 2022-04-19 10:18:02 +01:00
SYS.h