aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/asmglibc/sysdep.h
diff options
context:
space:
mode:
authorpnv1 <pnv@ydb.tech>2023-04-27 19:15:07 +0300
committerpnv1 <pnv@ydb.tech>2023-04-27 19:15:07 +0300
commita66c59109292f9e0fb44ede41adfdebe569e4df3 (patch)
tree906b3d10274afd16e8e70c61ff416bff9075422e /contrib/libs/asmglibc/sysdep.h
parent9ca91b40d6f45546e20a646d15590c0cc6cc9778 (diff)
downloadydb-a66c59109292f9e0fb44ede41adfdebe569e4df3.tar.gz
Switch to old asmlib to be able to build ydb cli without sse4
Diffstat (limited to 'contrib/libs/asmglibc/sysdep.h')
-rw-r--r--contrib/libs/asmglibc/sysdep.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/contrib/libs/asmglibc/sysdep.h b/contrib/libs/asmglibc/sysdep.h
new file mode 100644
index 00000000000..1cfb71673e0
--- /dev/null
+++ b/contrib/libs/asmglibc/sysdep.h
@@ -0,0 +1,12 @@
+#if defined(__APPLE__)
+ #define ENTRY(X) .globl _## X; .align 1<<3; _ ## X:
+ #define END(X)
+ #define L(X) L ## X
+#else
+ #define ENTRY(X) .globl X; .type X,@function; .align 1<<4; X: .cfi_startproc;
+ #define END(X) .cfi_endproc; .size X,.-X;
+ #define L(X) .L ## X
+#endif
+
+#define libc_hidden_builtin_def(X)
+#define strong_alias(X, Y)