[glibc] mach: undef ENTRY2

Samuel Thibault sthibaul@sourceware.org
Tue Feb 14 19:29:59 GMT 2023


https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=c57c53fa53dead8edb1ebef6e937bbb92dfe9d09

commit c57c53fa53dead8edb1ebef6e937bbb92dfe9d09
Author: Sergey Bugaev <bugaevc@gmail.com>
Date:   Tue Feb 14 20:37:21 2023 +0300

    mach: undef ENTRY2
    
    This macro from Mach headers conflicts with how
    sysdeps/x86_64/multiarch/strcmp-sse2.S expects it to be defined.
    
    Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
    Message-Id: <20230214173722.428140-3-bugaevc@gmail.com>

Diff:
---
 sysdeps/mach/sysdep.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sysdeps/mach/sysdep.h b/sysdeps/mach/sysdep.h
index fe26bcb384..1c869f5cb2 100644
--- a/sysdeps/mach/sysdep.h
+++ b/sysdeps/mach/sysdep.h
@@ -30,6 +30,7 @@
 /* For ELF we need to add the `.type' directive to make shared libraries
    work right.  */
 #undef ENTRY
+#undef ENTRY2
 #define ENTRY(name) \
   .globl name; \
   .align ALIGN; \


More information about the Glibc-cvs mailing list