@@ -182,9 +182,6 @@
.section SECTION(.text), "ax", @progbits
.align 16
- .type STRCMP, @function
- .globl STRCMP
-
# ifndef GLABEL
# define GLABEL(...) __VA_ARGS__
# endif
@@ -200,12 +197,7 @@ END (GLABEL(STRCASECMP))
/* FALLTHROUGH to strcasecmp/strncasecmp_l. */
# endif
- .p2align 4
-STRCMP:
- cfi_startproc
- _CET_ENDBR
- CALL_MCOUNT
-
+ENTRY_P2ALIGN (STRCMP, 4)
# if defined USE_AS_STRCASECMP_L
/* We have to fall back on the C implementation for locales with
encodings not matching ASCII for single bytes. */
@@ -1315,6 +1307,5 @@ L(ret_less_4_loop):
subl %r8d, %eax
ret
# endif
- cfi_endproc
- .size STRCMP, .-STRCMP
+END (STRCMP)
#endif
@@ -212,9 +212,6 @@
.section .text.evex, "ax", @progbits
.align 16
- .type STRCMP, @function
- .globl STRCMP
-
# ifdef USE_AS_STRCASECMP_L
ENTRY (STRCASECMP)
movq __libc_tsd_LOCALE@gottpoff(%rip), %rax
@@ -226,12 +223,7 @@ END (STRCASECMP)
/* FALLTHROUGH to strcasecmp/strncasecmp_l. */
# endif
- .p2align 4
-STRCMP:
- cfi_startproc
- _CET_ENDBR
- CALL_MCOUNT
-
+ENTRY_P2ALIGN (STRCMP, 4)
# if defined USE_AS_STRCASECMP_L
/* We have to fall back on the C implementation for locales with
encodings not matching ASCII for single bytes. */
@@ -1411,6 +1403,5 @@ L(ret_less_4_loop):
subl %r8d, %eax
ret
# endif
- cfi_endproc
- .size STRCMP, .-STRCMP
+END (STRCMP)
#endif
@@ -75,8 +75,6 @@
/* Put all SSE 4.2 functions together. */
.section .text.SECTION,"ax",@progbits
.align 16
- .type STRCMP_SSE42, @function
- .globl STRCMP_SSE42
#ifdef USE_AS_STRCASECMP_L
ENTRY (GLABEL(__strcasecmp))
movq __libc_tsd_LOCALE@gottpoff(%rip),%rax
@@ -101,11 +99,7 @@ END (GLABEL(__strncasecmp))
#define arg arg
-STRCMP_SSE42:
- cfi_startproc
- _CET_ENDBR
- CALL_MCOUNT
-
+ENTRY_P2ALIGN (STRCMP_SSE42, 0)
/*
* This implementation uses SSE to compare up to 16 bytes at a time.
*/
@@ -1737,8 +1731,7 @@ LABEL(Byte0):
sub %ecx, %eax
ret
- cfi_endproc
- .size STRCMP_SSE42, .-STRCMP_SSE42
+END (STRCMP_SSE42)
#undef UCLOW_reg
#undef UCHIGH_reg