[Bug libc/33134] New: mcount_internal shouldn't use vector/r16-r31 registers nor call memcpy/memset

hjl.tools at gmail dot com sourceware-bugzilla@sourceware.org
Mon Jul 7 21:51:34 GMT 2025


https://sourceware.org/bugzilla/show_bug.cgi?id=33134

            Bug ID: 33134
           Summary: mcount_internal shouldn't use vector/r16-r31 registers
                    nor call memcpy/memset
           Product: glibc
           Version: 2.42
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: hjl.tools at gmail dot com
                CC: drepper.fsp at gmail dot com, fweimer at redhat dot com
  Target Milestone: ---
            Target: x86-64

Since mcount_internal is called from mcount/__fentry__ which preserve only
RAX, RCX, RDX, RSI, RDI, R8 and R9, it shouldn't use vector/r16-r31 registers
nor call memcpy/memset.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list