glibc/gmon
H.J. Lu 7130c2ae97 x86: Avoid vector/r16-r31 registers and memcpy/memset in mcount_internal
Since mcount_internal is called from mcount/__fentry__ which preserve
only RAX, RCX, RDX, RSI, RDI, R8 and R9, compile mcount.c with

-fno-tree-loop-distribute-patterns -mgeneral-regs-only -mno-apxf

to void vector/r16-r31 registers and memcpy/memset in mcount_internal.
This fixes BZ #33134.

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Reviewed-by: Andreas K. Huettel <dilfridge@gentoo.org>
2025-07-09 05:33:05 +08:00
..
sys Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
Makefile x86: Avoid vector/r16-r31 registers and memcpy/memset in mcount_internal 2025-07-09 05:33:05 +08:00
Versions linux: Make profil_counter a compat_symbol (BZ#17726) 2019-08-23 11:30:56 -03:00
gmon.c Define write_profiling functions only in profile library [BZ #31756] 2024-05-22 06:12:55 -07:00
mcount.c Fix all the remaining misspellings -- BZ 25337 2023-06-02 01:39:48 +00:00
prof-freq.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
profil.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
sprofil.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
tst-gmon-gprof.sh Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
tst-gmon-pie.c Support profiling PIE [BZ #22284] 2017-10-12 03:49:40 -07:00
tst-gmon-static-gprof.sh Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
tst-gmon-static-pie.c Add --enable-static-pie configure option to build static PIE [BZ #19574] 2017-12-15 17:12:14 -08:00
tst-gmon-static.c Add a test for profiling static executable 2017-10-14 12:58:55 -07:00
tst-gmon.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
tst-mcleanup.c gmon: fix memory corruption issues [BZ# 30101] 2023-02-22 21:03:30 -05:00
tst-mcount-overflow-check.sh Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
tst-mcount-overflow.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
tst-profile-static.c
tst-sprofil.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00