about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSergey Bugaev <bugaevc@gmail.com>2023-02-14 20:37:21 +0300
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-02-14 20:29:55 +0100
commitc57c53fa53dead8edb1ebef6e937bbb92dfe9d09 (patch)
tree3ac5daf6954973e9f8678edbd41806d220213f9b
parent748511f0bb61785f976e18843d707a8ba8fffe29 (diff)
downloadglibc-c57c53fa53dead8edb1ebef6e937bbb92dfe9d09.tar.gz
glibc-c57c53fa53dead8edb1ebef6e937bbb92dfe9d09.tar.xz
glibc-c57c53fa53dead8edb1ebef6e937bbb92dfe9d09.zip
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>
-rw-r--r--sysdeps/mach/sysdep.h1
1 files changed, 1 insertions, 0 deletions
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; \