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 --- lib/libc/include/i386-linux-gnu/gnu/lib-names.h | 17 +++++++++++++++++ lib/libc/include/i386-linux-gnu/gnu/stubs.h | 14 ++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 lib/libc/include/i386-linux-gnu/gnu/lib-names.h create mode 100644 lib/libc/include/i386-linux-gnu/gnu/stubs.h (limited to 'lib/libc/include/i386-linux-gnu/gnu') diff --git a/lib/libc/include/i386-linux-gnu/gnu/lib-names.h b/lib/libc/include/i386-linux-gnu/gnu/lib-names.h new file mode 100644 index 0000000000..aafc03bf7e --- /dev/null +++ b/lib/libc/include/i386-linux-gnu/gnu/lib-names.h @@ -0,0 +1,17 @@ +/* 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 + +#if !defined __x86_64__ +# include +#endif +#if defined __x86_64__ && defined __LP64__ +# include +#endif +#if defined __x86_64__ && defined __ILP32__ +# include +#endif + +#endif /* gnu/lib-names.h */ \ No newline at end of file diff --git a/lib/libc/include/i386-linux-gnu/gnu/stubs.h b/lib/libc/include/i386-linux-gnu/gnu/stubs.h new file mode 100644 index 0000000000..a4c9b5f097 --- /dev/null +++ b/lib/libc/include/i386-linux-gnu/gnu/stubs.h @@ -0,0 +1,14 @@ +/* This file is automatically generated. + This file selects the right generated file of `__stub_FUNCTION' macros + based on the architecture being compiled for. */ + + +#if !defined __x86_64__ +# include +#endif +#if defined __x86_64__ && defined __LP64__ +# include +#endif +#if defined __x86_64__ && defined __ILP32__ +# include +#endif \ No newline at end of file -- cgit v1.2.3