glibc/sysdeps
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
..
aarch64 i386: Update ___tls_get_addr to preserve vector registers 2025-06-19 04:30:31 +08:00
alpha
arc
arm
csky
generic elf: Restore support for _r_debug interpositions and copy relocations 2025-07-05 20:15:12 +02:00
gnu Add TCPI_OPT_USEC_TS from Linux 6.14 and TCPI_OPT_TFO_CHILD from 6.15 to netinet/tcp.h. 2025-06-17 09:57:44 -03:00
hppa
htl htl: move __pthread_get_cleanup_stack to libc 2025-07-06 19:56:15 +00:00
hurd
i386 i386: Update ___tls_get_addr to preserve vector registers 2025-06-19 04:30:31 +08:00
ieee754 powerpc: Remove modff optimization 2025-06-25 15:05:30 -03:00
loongarch i386: Update ___tls_get_addr to preserve vector registers 2025-06-19 04:30:31 +08:00
m68k math: Optimize float ilogb/llogb 2025-06-02 13:32:19 -03:00
mach htl: move __pthread_get_cleanup_stack to libc 2025-07-06 19:56:15 +00:00
microblaze
mips
nptl
or1k
posix stdlib: Fix __libc_message_impl iovec size (BZ 32947) 2025-06-30 13:51:41 -03:00
powerpc powerpc: Remove modf optimization 2025-06-25 15:05:30 -03:00
pthread hurd: Fix tst-stack2 test build on Hurd 2025-05-09 10:19:37 -03:00
riscv
s390 S390: Use cfi_val_offset instead of cfi_escape. 31bit part 2025-05-23 15:05:56 +02:00
sh
sparc sparc: Fix sparc32 Fix argument passing to __libc_start_main (BZ 32981) 2025-06-18 11:20:34 -03:00
unix Linux: Fix typo in comment in termios_internals.h 2025-07-04 13:17:31 +02:00
wordsize-32
wordsize-64
x86 x86: Avoid vector/r16-r31 registers and memcpy/memset in mcount_internal 2025-07-09 05:33:05 +08:00
x86_64 x86: Avoid vector/r16-r31 registers and memcpy/memset in mcount_internal 2025-07-09 05:33:05 +08:00