]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
mach: undef ENTRY2
authorSergey Bugaev <bugaevc@gmail.com>
Tue, 14 Feb 2023 17:37:21 +0000 (20:37 +0300)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Tue, 14 Feb 2023 19:29:55 +0000 (20:29 +0100)
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>

sysdeps/mach/sysdep.h

index fe26bcb384cb84a971090ea166f628c3b58c92d3..1c869f5cb201c3f4c8741ac5d1b5f644b7ed1161 100644 (file)
@@ -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; \