aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/include/loongarch64-linux-gnu/gnu
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2024-06-05 17:24:20 -0700
committerAndrew Kelley <andrew@ziglang.org>2024-06-05 22:43:53 -0700
commit8a4f583bb54baf8bfe83bfc1f0f8fa34316e8c09 (patch)
tree480d557370fdc5dd311b806d7dc215f321833dcc /lib/libc/include/loongarch64-linux-gnu/gnu
parent3964b2a315ae999288b861cdbf3eb04eb625b477 (diff)
downloadzig-8a4f583bb54baf8bfe83bfc1f0f8fa34316e8c09.tar.gz
zig-8a4f583bb54baf8bfe83bfc1f0f8fa34316e8c09.zip
update glibc headers to 2.39
Diffstat (limited to 'lib/libc/include/loongarch64-linux-gnu/gnu')
-rw-r--r--lib/libc/include/loongarch64-linux-gnu/gnu/lib-names-lp64d.h27
-rw-r--r--lib/libc/include/loongarch64-linux-gnu/gnu/lib-names.h16
-rw-r--r--lib/libc/include/loongarch64-linux-gnu/gnu/stubs-lp64d.h21
-rw-r--r--lib/libc/include/loongarch64-linux-gnu/gnu/stubs.h12
4 files changed, 76 insertions, 0 deletions
diff --git a/lib/libc/include/loongarch64-linux-gnu/gnu/lib-names-lp64d.h b/lib/libc/include/loongarch64-linux-gnu/gnu/lib-names-lp64d.h
new file mode 100644
index 0000000000..8f030679c8
--- /dev/null
+++ b/lib/libc/include/loongarch64-linux-gnu/gnu/lib-names-lp64d.h
@@ -0,0 +1,27 @@
+/* This file is automatically generated. */
+#ifndef __GNU_LIB_NAMES_H
+# error "Never use <gnu/lib-names-lp64d.h> directly; include <gnu/lib-names.h> instead."
+#endif
+
+#define LD_LINUX_LOONGARCH_LP64D_SO "ld-linux-loongarch-lp64d.so.1"
+#define LD_SO "ld-linux-loongarch-lp64d.so.1"
+#define LIBANL_SO "libanl.so.1"
+#define LIBBROKENLOCALE_SO "libBrokenLocale.so.1"
+#define LIBC_MALLOC_DEBUG_SO "libc_malloc_debug.so.0"
+#define LIBC_SO "libc.so.6"
+#define LIBDL_SO "libdl.so.2"
+#define LIBGCC_S_SO "libgcc_s.so.1"
+#define LIBMVEC_SO "libmvec.so.1"
+#define LIBM_SO "libm.so.6"
+#define LIBNSL_SO "libnsl.so.1"
+#define LIBNSS_COMPAT_SO "libnss_compat.so.2"
+#define LIBNSS_DB_SO "libnss_db.so.2"
+#define LIBNSS_DNS_SO "libnss_dns.so.2"
+#define LIBNSS_FILES_SO "libnss_files.so.2"
+#define LIBNSS_HESIOD_SO "libnss_hesiod.so.2"
+#define LIBNSS_LDAP_SO "libnss_ldap.so.2"
+#define LIBPTHREAD_SO "libpthread.so.0"
+#define LIBRESOLV_SO "libresolv.so.2"
+#define LIBRT_SO "librt.so.1"
+#define LIBTHREAD_DB_SO "libthread_db.so.1"
+#define LIBUTIL_SO "libutil.so.1" \ No newline at end of file
diff --git a/lib/libc/include/loongarch64-linux-gnu/gnu/lib-names.h b/lib/libc/include/loongarch64-linux-gnu/gnu/lib-names.h
new file mode 100644
index 0000000000..c3eba41e09
--- /dev/null
+++ b/lib/libc/include/loongarch64-linux-gnu/gnu/lib-names.h
@@ -0,0 +1,16 @@
+/* This file is automatically generated.
+ It defines macros to allow user program to find the shared
+ library files which come as part of GNU libc. */
+#ifndef __GNU_LIB_NAMES_H
+#define __GNU_LIB_NAMES_H 1
+
+#include <bits/wordsize.h>
+
+#if __WORDSIZE == 64 && defined __loongarch_soft_float
+# include <gnu/lib-names-lp64s.h>
+#endif
+#if __WORDSIZE == 64 && defined __loongarch_double_float
+# include <gnu/lib-names-lp64d.h>
+#endif
+
+#endif /* gnu/lib-names.h */ \ No newline at end of file
diff --git a/lib/libc/include/loongarch64-linux-gnu/gnu/stubs-lp64d.h b/lib/libc/include/loongarch64-linux-gnu/gnu/stubs-lp64d.h
new file mode 100644
index 0000000000..4c2911dd6d
--- /dev/null
+++ b/lib/libc/include/loongarch64-linux-gnu/gnu/stubs-lp64d.h
@@ -0,0 +1,21 @@
+/* This file is automatically generated.
+ It defines a symbol `__stub_FUNCTION' for each function
+ in the C library which is a stub, meaning it will fail
+ every time called, usually setting errno to ENOSYS. */
+
+#ifdef _LIBC
+ #error Applications may not define the macro _LIBC
+#endif
+
+#define __stub___compat_bdflush
+#define __stub___compat_create_module
+#define __stub___compat_get_kernel_syms
+#define __stub___compat_query_module
+#define __stub___compat_uselib
+#define __stub_chflags
+#define __stub_fchflags
+#define __stub_gtty
+#define __stub_revoke
+#define __stub_setlogin
+#define __stub_sigreturn
+#define __stub_stty \ No newline at end of file
diff --git a/lib/libc/include/loongarch64-linux-gnu/gnu/stubs.h b/lib/libc/include/loongarch64-linux-gnu/gnu/stubs.h
new file mode 100644
index 0000000000..ea3f10c421
--- /dev/null
+++ b/lib/libc/include/loongarch64-linux-gnu/gnu/stubs.h
@@ -0,0 +1,12 @@
+/* This file is automatically generated.
+ This file selects the right generated file of `__stub_FUNCTION' macros
+ based on the architecture being compiled for. */
+
+#include <bits/wordsize.h>
+
+#if __WORDSIZE == 64 && defined __loongarch_soft_float
+# include <gnu/stubs-lp64s.h>
+#endif
+#if __WORDSIZE == 64 && defined __loongarch_double_float
+# include <gnu/stubs-lp64d.h>
+#endif \ No newline at end of file