From 49d1a4c56218cf932adddf60ad2f56a8386c76fc Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Mon, 15 Jul 2019 17:54:50 -0400 Subject: move lib dirs to lib subdir also start prefering NtDll API. so far: * NtQueryInformationFile * NtClose adds a performance workaround for windows unicode conversion. but that should probably be removed before merging --- .../include/sparc-linux-gnu/gnu/lib-names-64.h | 31 ++++++++++++++++++++++ lib/libc/include/sparc-linux-gnu/gnu/lib-names.h | 16 +++++++++++ lib/libc/include/sparc-linux-gnu/gnu/stubs-64.h | 26 ++++++++++++++++++ lib/libc/include/sparc-linux-gnu/gnu/stubs.h | 12 +++++++++ 4 files changed, 85 insertions(+) create mode 100644 lib/libc/include/sparc-linux-gnu/gnu/lib-names-64.h create mode 100644 lib/libc/include/sparc-linux-gnu/gnu/lib-names.h create mode 100644 lib/libc/include/sparc-linux-gnu/gnu/stubs-64.h create mode 100644 lib/libc/include/sparc-linux-gnu/gnu/stubs.h (limited to 'lib/libc/include/sparc-linux-gnu/gnu') diff --git a/lib/libc/include/sparc-linux-gnu/gnu/lib-names-64.h b/lib/libc/include/sparc-linux-gnu/gnu/lib-names-64.h new file mode 100644 index 0000000000..08e73abcba --- /dev/null +++ b/lib/libc/include/sparc-linux-gnu/gnu/lib-names-64.h @@ -0,0 +1,31 @@ +/* This file is automatically generated. */ +#ifndef __GNU_LIB_NAMES_H +# error "Never use directly; include instead." +#endif + +#define LD_LINUX_SO "ld-linux.so.2" +#define LD_SO "ld-linux.so.2" +#define LIBANL_SO "libanl.so.1" +#define LIBBROKENLOCALE_SO "libBrokenLocale.so.1" +#define LIBCRYPT_SO "libcrypt.so.1" +#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 LIBNSS_NISPLUS_SO "libnss_nisplus.so.2" +#define LIBNSS_NIS_SO "libnss_nis.so.2" +#define LIBNSS_TEST1_SO "libnss_test1.so.2" +#define LIBNSS_TEST2_SO "libnss_test2.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/sparc-linux-gnu/gnu/lib-names.h b/lib/libc/include/sparc-linux-gnu/gnu/lib-names.h new file mode 100644 index 0000000000..ad6471507a --- /dev/null +++ b/lib/libc/include/sparc-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 + +#if __WORDSIZE == 32 +# include +#endif +#if __WORDSIZE == 64 +# include +#endif + +#endif /* gnu/lib-names.h */ \ No newline at end of file diff --git a/lib/libc/include/sparc-linux-gnu/gnu/stubs-64.h b/lib/libc/include/sparc-linux-gnu/gnu/stubs-64.h new file mode 100644 index 0000000000..cab3cfc760 --- /dev/null +++ b/lib/libc/include/sparc-linux-gnu/gnu/stubs-64.h @@ -0,0 +1,26 @@ +/* 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_chflags +#define __stub_fattach +#define __stub_fchflags +#define __stub_fdetach +#define __stub_getmsg +#define __stub_getpmsg +#define __stub_gtty +#define __stub_lchmod +#define __stub_pkey_alloc +#define __stub_pkey_free +#define __stub_putmsg +#define __stub_putpmsg +#define __stub_revoke +#define __stub_setlogin +#define __stub_sigreturn +#define __stub_sstk +#define __stub_stty \ No newline at end of file diff --git a/lib/libc/include/sparc-linux-gnu/gnu/stubs.h b/lib/libc/include/sparc-linux-gnu/gnu/stubs.h new file mode 100644 index 0000000000..120171a87a --- /dev/null +++ b/lib/libc/include/sparc-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 + +#if __WORDSIZE == 32 +# include +#endif +#if __WORDSIZE == 64 +# include +#endif \ No newline at end of file -- cgit v1.2.3