Remove NOT_IN_libc

Replace with !IS_IN (libc).  This completes the transition from
the IS_IN/NOT_IN macros to the IN_MODULE macro set.

The generated code is unchanged on x86_64.

	* stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
	(get_null_defines): Adjust.
	* sunrpc/Makefile: Adjust comment.
	* Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
	* elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
	(CFLAGS-interp.c): Likewise.
	(CFLAGS-ldconfig.c): Likewise.
	(CPPFLAGS-.os): Likewise.
	* elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
	* extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
	* extra-modules.mk (extra-modules.mk): Likewise.
	* iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
	* locale/Makefile (CPPFLAGS-locale_programs): Likewise.
	* malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
	* nscd/Makefile (CPPFLAGS-nscd): Likewise.
	* nss/Makefile (CPPFLAGS-nss_test1): Likewise.
	* stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
	* sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
	* sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
	* iconvdata/Makefile (CPPFLAGS): Likewise.
	(cpp-srcs-left): Add libof for all iconvdata routines.
	* bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
	* include/assert.h: Likewise.
	* include/ctype.h: Likewise.
	* include/errno.h: Likewise.
	* include/libc-symbols.h: Likewise.
	* include/math.h: Likewise.
	* include/netdb.h: Likewise.
	* include/resolv.h: Likewise.
	* include/stdio.h: Likewise.
	* include/stdlib.h: Likewise.
	* include/string.h: Likewise.
	* include/sys/stat.h: Likewise.
	* include/wctype.h: Likewise.
	* intl/l10nflist.c: Likewise.
	* libidn/idn-stub.c: Likewise.
	* libio/libioP.h: Likewise.
	* nptl/libc_multiple_threads.c: Likewise.
	* nptl/pthreadP.h: Likewise.
	* posix/regex_internal.h: Likewise.
	* resolv/res_hconf.c: Likewise.
	* sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
	* sysdeps/arm/memmove.S: Likewise.
	* sysdeps/arm/sysdep.h: Likewise.
	* sysdeps/generic/_itoa.h: Likewise.
	* sysdeps/generic/symbol-hacks.h: Likewise.
	* sysdeps/gnu/errlist.awk: Likewise.
	* sysdeps/gnu/errlist.c: Likewise.
	* sysdeps/i386/i586/memcpy.S: Likewise.
	* sysdeps/i386/i586/memset.S: Likewise.
	* sysdeps/i386/i686/memcpy.S: Likewise.
	* sysdeps/i386/i686/memmove.S: Likewise.
	* sysdeps/i386/i686/mempcpy.S: Likewise.
	* sysdeps/i386/i686/memset.S: Likewise.
	* sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
	* sysdeps/i386/i686/multiarch/bzero.S: Likewise.
	* sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
	* sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
	* sysdeps/i386/i686/multiarch/memchr.S: Likewise.
	* sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
	* sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
	* sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
	* sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
	* sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
	* sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
	* sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
	* sysdeps/i386/i686/multiarch/memmove.S: Likewise.
	* sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
	* sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
	* sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
	* sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
	* sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
	* sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
	* sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
	* sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
	* sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
	* sysdeps/i386/i686/multiarch/memset.S: Likewise.
	* sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
	* sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
	* sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
	* sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
	* sysdeps/i386/i686/multiarch/strcat.S: Likewise.
	* sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
	* sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
	* sysdeps/i386/i686/multiarch/strchr.S: Likewise.
	* sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
	* sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
	* sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
	* sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
	* sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
	* sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
	* sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
	* sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
	* sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
	* sysdeps/i386/i686/multiarch/strlen.S: Likewise.
	* sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
	* sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
	* sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
	* sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
	* sysdeps/i386/i686/multiarch/strspn.S: Likewise.
	* sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
	* sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
	* sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
	* sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
	* sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
	* sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
	* sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
	* sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
	* sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
	* sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
	* sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
	* sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
	* sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
	* sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
	* sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
	* sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
	* sysdeps/ia64/fpu/libm-symbols.h: Likewise.
	* sysdeps/nptl/bits/libc-lock.h: Likewise.
	* sysdeps/nptl/bits/libc-lockP.h: Likewise.
	* sysdeps/nptl/bits/stdio-lock.h: Likewise.
	* sysdeps/posix/closedir.c: Likewise.
	* sysdeps/posix/opendir.c: Likewise.
	* sysdeps/posix/readdir.c: Likewise.
	* sysdeps/posix/rewinddir.c: Likewise.
	* sysdeps/powerpc/novmx-sigjmp.c: Likewise.
	* sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
	* sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
	* sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
	* sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
	* sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
	* sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
	* sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
	* sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
	* sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
	* sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
	* sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
	* sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
	* sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
	* sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
	* sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
	* sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
	* sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
	* sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
	* sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
	* sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
	* sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
	* sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
	* sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
	* sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
	* sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
	* sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
	* sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
	* sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
	* sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
	* sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
	* sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
	* sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
	* sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
	* sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
	* sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
	* sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
	* sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
	* sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
	* sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
	* sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
	* sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
	* sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
	* sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
	* sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
	* sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
	* sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
	* sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
	* sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
	* sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
	* sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
	* sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
	* sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
	* sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
	* sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
	* sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
	* sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
	* sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
	* sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
	* sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
	* sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
	* sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
	* sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
	* sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
	* sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
	* sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
	* sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
	* sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
	* sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
	* sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
	* sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
	* sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
	* sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
	* sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
	* sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
	* sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
	* sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
	* sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
	* sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
	* sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
	* sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
	* sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
	* sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
	* sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
	* sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
	* sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
	* sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
	* sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
	* sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
	* sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
	* sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
	* sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
	* sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
	* sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
	* sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
	* sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
	* sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
	* sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
	* sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
	* sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
	* sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
	* sysdeps/unix/alpha/sysdep.S: Likewise.
	* sysdeps/unix/alpha/sysdep.h: Likewise.
	* sysdeps/unix/make-syscalls.sh: Likewise.
	* sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
	* sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
	* sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
	* sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
	* sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
	* sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
	* sysdeps/unix/sysv/linux/getpid.c: Likewise.
	* sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
	* sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
	* sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
	* sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
	* sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
	* sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
	* sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
	* sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
	* sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
	* sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
	* sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
	* sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
	* sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
	* sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
	* sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
	* sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
	* sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
	* sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
	* sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
	* sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
	* sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
	* sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
	* sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
	* sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
	* sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
	* sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
	* sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
	* sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
	* sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
	* sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
	* sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
	* sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
	* sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
	* sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
	* sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
	* sysdeps/wordsize-32/symbol-hacks.h: Likewise.
	* sysdeps/x86_64/memcpy.S: Likewise.
	* sysdeps/x86_64/memmove.c: Likewise.
	* sysdeps/x86_64/memset.S: Likewise.
	* sysdeps/x86_64/multiarch/init-arch.h: Likewise.
	* sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
	* sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
	* sysdeps/x86_64/multiarch/memcmp.S: Likewise.
	* sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
	* sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
	* sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
	* sysdeps/x86_64/multiarch/memcpy.S: Likewise.
	* sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
	* sysdeps/x86_64/multiarch/memmove.c: Likewise.
	* sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
	* sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
	* sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
	* sysdeps/x86_64/multiarch/memset.S: Likewise.
	* sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
	* sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
	* sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
	* sysdeps/x86_64/multiarch/strcat.S: Likewise.
	* sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
	* sysdeps/x86_64/multiarch/strchr.S: Likewise.
	* sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
	* sysdeps/x86_64/multiarch/strcmp.S: Likewise.
	* sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
	* sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
	* sysdeps/x86_64/multiarch/strcpy.S: Likewise.
	* sysdeps/x86_64/multiarch/strcspn.S: Likewise.
	* sysdeps/x86_64/multiarch/strspn.S: Likewise.
	* sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
	* sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
	* sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
	* sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
	* sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
	* sysdeps/x86_64/strcmp.S: Likewise.
This commit is contained in:
Siddhesh Poyarekar 2014-11-24 15:03:45 +05:30
parent 76ca86a506
commit 4f41c682f3
317 changed files with 751 additions and 447 deletions

324
ChangeLog
View File

@ -1,5 +1,329 @@
2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com> 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
* stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
(get_null_defines): Adjust.
* sunrpc/Makefile: Adjust comment.
* Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
* elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
(CFLAGS-interp.c): Likewise.
(CFLAGS-ldconfig.c): Likewise.
(CPPFLAGS-.os): Likewise.
* elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
* extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
* extra-modules.mk (extra-modules.mk): Likewise.
* iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
* locale/Makefile (CPPFLAGS-locale_programs): Likewise.
* malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
* nscd/Makefile (CPPFLAGS-nscd): Likewise.
* nss/Makefile (CPPFLAGS-nss_test1): Likewise.
* stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
* sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
* sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
* iconvdata/Makefile (CPPFLAGS): Likewise.
(cpp-srcs-left): Add libof for all iconvdata routines.
* bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
* include/assert.h: Likewise.
* include/ctype.h: Likewise.
* include/errno.h: Likewise.
* include/libc-symbols.h: Likewise.
* include/math.h: Likewise.
* include/netdb.h: Likewise.
* include/resolv.h: Likewise.
* include/stdio.h: Likewise.
* include/stdlib.h: Likewise.
* include/string.h: Likewise.
* include/sys/stat.h: Likewise.
* include/wctype.h: Likewise.
* intl/l10nflist.c: Likewise.
* libidn/idn-stub.c: Likewise.
* libio/libioP.h: Likewise.
* nptl/libc_multiple_threads.c: Likewise.
* nptl/pthreadP.h: Likewise.
* posix/regex_internal.h: Likewise.
* resolv/res_hconf.c: Likewise.
* sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
* sysdeps/arm/memmove.S: Likewise.
* sysdeps/arm/sysdep.h: Likewise.
* sysdeps/generic/_itoa.h: Likewise.
* sysdeps/generic/symbol-hacks.h: Likewise.
* sysdeps/gnu/errlist.awk: Likewise.
* sysdeps/gnu/errlist.c: Likewise.
* sysdeps/i386/i586/memcpy.S: Likewise.
* sysdeps/i386/i586/memset.S: Likewise.
* sysdeps/i386/i686/memcpy.S: Likewise.
* sysdeps/i386/i686/memmove.S: Likewise.
* sysdeps/i386/i686/mempcpy.S: Likewise.
* sysdeps/i386/i686/memset.S: Likewise.
* sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
* sysdeps/i386/i686/multiarch/bzero.S: Likewise.
* sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
* sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
* sysdeps/i386/i686/multiarch/memchr.S: Likewise.
* sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
* sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
* sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
* sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
* sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
* sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
* sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
* sysdeps/i386/i686/multiarch/memmove.S: Likewise.
* sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
* sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
* sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
* sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
* sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
* sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
* sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
* sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
* sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
* sysdeps/i386/i686/multiarch/memset.S: Likewise.
* sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
* sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
* sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
* sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
* sysdeps/i386/i686/multiarch/strcat.S: Likewise.
* sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
* sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
* sysdeps/i386/i686/multiarch/strchr.S: Likewise.
* sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
* sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
* sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
* sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
* sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
* sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
* sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
* sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
* sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
* sysdeps/i386/i686/multiarch/strlen.S: Likewise.
* sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
* sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
* sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
* sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
* sysdeps/i386/i686/multiarch/strspn.S: Likewise.
* sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
* sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
* sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
* sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
* sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
* sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
* sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
* sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
* sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
* sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
* sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
* sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
* sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
* sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
* sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
* sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
* sysdeps/ia64/fpu/libm-symbols.h: Likewise.
* sysdeps/nptl/bits/libc-lock.h: Likewise.
* sysdeps/nptl/bits/libc-lockP.h: Likewise.
* sysdeps/nptl/bits/stdio-lock.h: Likewise.
* sysdeps/posix/closedir.c: Likewise.
* sysdeps/posix/opendir.c: Likewise.
* sysdeps/posix/readdir.c: Likewise.
* sysdeps/posix/rewinddir.c: Likewise.
* sysdeps/powerpc/novmx-sigjmp.c: Likewise.
* sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
* sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
* sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
* sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
* sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
* sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
* sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
* sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
* sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
* sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
* sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
* sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
* sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
* sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
* sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
* sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
* sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
* sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
* sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
* sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
* sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
* sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
* sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
* sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
* sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
* sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
* sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
* sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
* sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
* sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
* sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
* sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
* sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
* sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
* sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
* sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
* sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
* sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
* sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
* sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
* sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
* sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
* sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
* sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
* sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
* sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
* sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
* sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
* sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
* sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
* sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
* sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
* sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
* sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
* sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
* sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
* sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
* sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
* sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
* sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
* sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
* sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
* sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
* sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
* sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
* sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
* sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
* sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
* sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
* sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
* sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
* sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
* sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
* sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
* sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
* sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
* sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
* sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
* sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
* sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
* sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
* sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
* sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
* sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
* sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
* sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
* sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
* sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
* sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
* sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
* sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
* sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
* sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
* sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
* sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
* sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
* sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
* sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
* sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
* sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
* sysdeps/unix/alpha/sysdep.S: Likewise.
* sysdeps/unix/alpha/sysdep.h: Likewise.
* sysdeps/unix/make-syscalls.sh: Likewise.
* sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
* sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
* sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
* sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/getpid.c: Likewise.
* sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
* sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
* sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
* sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
* sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
* sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
* sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
* sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
* sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
* sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
* sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
* sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
* sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
* sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
* sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
* sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
* sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
* sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
* sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
* sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
* sysdeps/wordsize-32/symbol-hacks.h: Likewise.
* sysdeps/x86_64/memcpy.S: Likewise.
* sysdeps/x86_64/memmove.c: Likewise.
* sysdeps/x86_64/memset.S: Likewise.
* sysdeps/x86_64/multiarch/init-arch.h: Likewise.
* sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
* sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
* sysdeps/x86_64/multiarch/memcmp.S: Likewise.
* sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
* sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
* sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
* sysdeps/x86_64/multiarch/memcpy.S: Likewise.
* sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
* sysdeps/x86_64/multiarch/memmove.c: Likewise.
* sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
* sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
* sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
* sysdeps/x86_64/multiarch/memset.S: Likewise.
* sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
* sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
* sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
* sysdeps/x86_64/multiarch/strcat.S: Likewise.
* sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
* sysdeps/x86_64/multiarch/strchr.S: Likewise.
* sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
* sysdeps/x86_64/multiarch/strcmp.S: Likewise.
* sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
* sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
* sysdeps/x86_64/multiarch/strcpy.S: Likewise.
* sysdeps/x86_64/multiarch/strcspn.S: Likewise.
* sysdeps/x86_64/multiarch/strspn.S: Likewise.
* sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
* sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
* sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
* sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
* sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
* sysdeps/x86_64/strcmp.S: Likewise.
* extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib). * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
* elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld. * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.

View File

@ -1228,9 +1228,6 @@ lib := nonlib
include $(patsubst %,$(..)cppflags-iterator.mk,$(cpp-srcs-left)) include $(patsubst %,$(..)cppflags-iterator.mk,$(cpp-srcs-left))
endif endif
# The include magic above causes those files to use this variable for flags.
CPPFLAGS-nonlib = -DNOT_IN_libc=1
ifeq ($(build-shared),yes) ifeq ($(build-shared),yes)
# Generate normalized lists of symbols, versions, and data sizes. # Generate normalized lists of symbols, versions, and data sizes.

View File

@ -44,7 +44,7 @@ __libc_lock_define_recursive (typedef, _IO_lock_t)
#define _IO_cleanup_region_end(_doit) \ #define _IO_cleanup_region_end(_doit) \
__libc_cleanup_region_end (_doit) __libc_cleanup_region_end (_doit)
#if defined _LIBC && !defined NOT_IN_libc #if defined _LIBC && IS_IN (libc)
# define _IO_acquire_lock(_fp) \ # define _IO_acquire_lock(_fp) \
_IO_cleanup_region_start ((void (*) (void *)) _IO_funlockfile, (_fp)); \ _IO_cleanup_region_start ((void (*) (void *)) _IO_funlockfile, (_fp)); \
_IO_flockfile (_fp) _IO_flockfile (_fp)

View File

@ -97,7 +97,6 @@ install-others += $(inst_auditdir)/sotruss-lib.so
install-bin-script += sotruss install-bin-script += sotruss
generated += sotruss generated += sotruss
libof-sotruss-lib = extramodules libof-sotruss-lib = extramodules
CPPFLAGS-sotruss-lib = -DNOT_IN_libc
$(objpfx)sotruss-lib.so: $(objpfx)sotruss-lib.os $(objpfx)sotruss-lib.so: $(objpfx)sotruss-lib.os
$(build-module-asneeded) $(build-module-asneeded)
$(objpfx)sotruss-lib.so: $(common-objpfx)libc.so $(objpfx)ld.so \ $(objpfx)sotruss-lib.so: $(common-objpfx)libc.so $(objpfx)ld.so \
@ -437,15 +436,12 @@ $(objpfx)ldconfig: $(ldconfig-modules:%=$(objpfx)%.o)
SYSCONF-FLAGS := -D'SYSCONFDIR="$(sysconfdir)"' SYSCONF-FLAGS := -D'SYSCONFDIR="$(sysconfdir)"'
CFLAGS-ldconfig.c = $(SYSCONF-FLAGS) -D'LIBDIR="$(libdir)"' \ CFLAGS-ldconfig.c = $(SYSCONF-FLAGS) -D'LIBDIR="$(libdir)"' \
-D'SLIBDIR="$(slibdir)"' -DNOT_IN_libc -D'SLIBDIR="$(slibdir)"'
libof-ldconfig = ldconfig libof-ldconfig = ldconfig
CFLAGS-dl-cache.c = $(SYSCONF-FLAGS) CFLAGS-dl-cache.c = $(SYSCONF-FLAGS)
CFLAGS-cache.c = $(SYSCONF-FLAGS) CFLAGS-cache.c = $(SYSCONF-FLAGS)
CFLAGS-rtld.c = $(SYSCONF-FLAGS) CFLAGS-rtld.c = $(SYSCONF-FLAGS)
CPPFLAGS-.os += $(if $(filter $(@F),$(patsubst %,%.os,$(all-rtld-routines))),\
-DNOT_IN_libc=1)
cpp-srcs-left := $(all-rtld-routines:=.os) cpp-srcs-left := $(all-rtld-routines:=.os)
lib := rtld lib := rtld
include $(patsubst %,$(..)cppflags-iterator.mk,$(cpp-srcs-left)) include $(patsubst %,$(..)cppflags-iterator.mk,$(cpp-srcs-left))

View File

@ -138,12 +138,10 @@ ifdef rtld-depfiles
-include $(rtld-depfiles) -include $(rtld-depfiles)
endif endif
# This here is the whole point of all the shenanigans.
# Set libof-* for each routine. # Set libof-* for each routine.
cpp-srcs-left := $(rtld-modules:%.os=%) cpp-srcs-left := $(rtld-modules:%.os=%)
lib := rtld lib := rtld
include $(patsubst %,$(..)cppflags-iterator.mk,$(cpp-srcs-left)) include $(patsubst %,$(..)cppflags-iterator.mk,$(cpp-srcs-left))
# This here is the whole point of all the shenanigans.
rtld-CPPFLAGS := -DNOT_IN_libc=1
endif endif

View File

@ -105,5 +105,3 @@ cpp-srcs-left := $($(lib)-routines) $($(lib)-sysdep_routines)
ifneq (,$(cpp-srcs-left)) ifneq (,$(cpp-srcs-left))
include $(patsubst %,$(..)cppflags-iterator.mk,$(cpp-srcs-left)) include $(patsubst %,$(..)cppflags-iterator.mk,$(cpp-srcs-left))
endif endif
CPPFLAGS-$(lib) := -DNOT_IN_libc=1

View File

@ -7,4 +7,3 @@ module := $(firstword $(extra-modules-left))
extra-modules-left := $(filter-out $(module),$(extra-modules-left)) extra-modules-left := $(filter-out $(module),$(extra-modules-left))
libof-$(notdir $(module)) := extramodules libof-$(notdir $(module)) := extramodules
CPPFLAGS-$(module).c += -DNOT_IN_libc

View File

@ -52,8 +52,6 @@ CFLAGS-gconv_cache.c += -DGCONV_DIR='"$(gconvdir)"'
CFLAGS-gconv_conf.c = -DGCONV_PATH='"$(gconvdir)"' CFLAGS-gconv_conf.c = -DGCONV_PATH='"$(gconvdir)"'
CFLAGS-iconvconfig.c = -DGCONV_PATH='"$(gconvdir)"' -DGCONV_DIR='"$(gconvdir)"' CFLAGS-iconvconfig.c = -DGCONV_PATH='"$(gconvdir)"' -DGCONV_DIR='"$(gconvdir)"'
CPPFLAGS-iconvprogs = -DNOT_IN_libc
# Set libof-* for each routine. # Set libof-* for each routine.
cpp-srcs-left := $(iconv_prog-modules) $(iconvconfig-modules) cpp-srcs-left := $(iconv_prog-modules) $(iconvconfig-modules)
lib := iconvprogs lib := iconvprogs

View File

@ -75,9 +75,6 @@ endif
test-srcs := tst-table-from tst-table-to test-srcs := tst-table-from tst-table-to
endif endif
# No code here is in libc.so.
CPPFLAGS += -DNOT_IN_libc
libJIS-routines := jis0201 jis0208 jis0212 libJIS-routines := jis0201 jis0208 jis0212
libKSC-routines := ksc5601 libKSC-routines := ksc5601
libGB-routines := gb2312 libGB-routines := gb2312
@ -275,7 +272,9 @@ endif
include ../Rules include ../Rules
# Set libof-* for each routine. # Set libof-* for each routine.
cpp-srcs-left := $(modules) $(generated-modules) cpp-srcs-left := $(modules) $(generated-modules) $(libJIS-routines) \
$(libKSC-routines) $(libGB-routines) $(libCNS-routines) \
$(libISOIR165-routines) $(libJISX0213-routines)
lib := iconvdata lib := iconvdata
include $(patsubst %,$(..)cppflags-iterator.mk,$(cpp-srcs-left)) include $(patsubst %,$(..)cppflags-iterator.mk,$(cpp-srcs-left))

View File

@ -20,7 +20,7 @@ extern void __assert_fail_base (const char *fmt, const char *assertion,
const char *function) const char *function)
__THROW __attribute__ ((__noreturn__)); __THROW __attribute__ ((__noreturn__));
# if !defined NOT_IN_libc || IS_IN (rtld) # if IS_IN (libc) || IS_IN (rtld)
hidden_proto (__assert_fail) hidden_proto (__assert_fail)
hidden_proto (__assert_perror_fail) hidden_proto (__assert_perror_fail)
# endif # endif

View File

@ -11,7 +11,7 @@ libc_hidden_proto (__ctype_init)
So defeat macro expansion with parens for this declaration. */ So defeat macro expansion with parens for this declaration. */
extern int (__isctype) (int __c, int __mask); extern int (__isctype) (int __c, int __mask);
# ifndef NOT_IN_libc # if IS_IN (libc)
/* These accessors are used by the optimized macros to find the /* These accessors are used by the optimized macros to find the
thread-local cache of ctype information from the current thread's thread-local cache of ctype information from the current thread's
@ -61,7 +61,7 @@ __ctype_tolower_loc (void)
# define __isdigit_l(c, l) ({ int __c = (c); __c >= '0' && __c <= '9'; }) # define __isdigit_l(c, l) ({ int __c = (c); __c >= '0' && __c <= '9'; })
# endif /* Not __NO_CTYPE. */ # endif /* Not __NO_CTYPE. */
# endif /* Not NOT_IN_libc. */ # endif /* IS_IN (libc). */
#endif /* Not _ISOMAC. */ #endif /* Not _ISOMAC. */
#endif /* ctype.h */ #endif /* ctype.h */

View File

@ -22,19 +22,19 @@
# define errno rtld_errno # define errno rtld_errno
extern int rtld_errno attribute_hidden; extern int rtld_errno attribute_hidden;
# elif !defined NOT_IN_libc || IS_IN_LIB # elif IS_IN_LIB
# include <tls.h> # include <tls.h>
# undef errno # undef errno
# ifndef NOT_IN_libc # if IS_IN (libc)
# define errno __libc_errno # define errno __libc_errno
# else # else
# define errno errno /* For #ifndef errno tests. */ # define errno errno /* For #ifndef errno tests. */
# endif # endif
extern __thread int errno attribute_tls_model_ie; extern __thread int errno attribute_tls_model_ie;
# endif /* !NOT_IN_libc || IS_IN_LIB */ # endif /* IS_IN_LIB */
# define __set_errno(val) (errno = (val)) # define __set_errno(val) (errno = (val))

View File

@ -549,7 +549,7 @@ for linking")
# define hidden_nolink(name, lib, version) # define hidden_nolink(name, lib, version)
#endif #endif
#if !defined NOT_IN_libc #if IS_IN (libc)
# define libc_hidden_proto(name, attrs...) hidden_proto (name, ##attrs) # define libc_hidden_proto(name, attrs...) hidden_proto (name, ##attrs)
# define libc_hidden_tls_proto(name, attrs...) hidden_tls_proto (name, ##attrs) # define libc_hidden_tls_proto(name, attrs...) hidden_tls_proto (name, ##attrs)
# define libc_hidden_def(name) hidden_def (name) # define libc_hidden_def(name) hidden_def (name)

View File

@ -6,7 +6,7 @@
/* Now define the internal interfaces. */ /* Now define the internal interfaces. */
extern int __matherr (struct exception *__exc); extern int __matherr (struct exception *__exc);
# if !defined NOT_IN_libc || IS_IN (libm) # if IS_IN (libc) || IS_IN (libm)
hidden_proto (__finite) hidden_proto (__finite)
hidden_proto (__isinf) hidden_proto (__isinf)
hidden_proto (__isnan) hidden_proto (__isnan)

View File

@ -4,15 +4,15 @@
#ifndef _ISOMAC #ifndef _ISOMAC
/* Macros for accessing h_errno from inside libc. */ /* Macros for accessing h_errno from inside libc. */
# if !defined NOT_IN_libc || IS_IN_LIB # if IS_IN_LIB
# undef h_errno # undef h_errno
# ifndef NOT_IN_libc # if IS_IN (libc)
# define h_errno __libc_h_errno # define h_errno __libc_h_errno
# else # else
# define h_errno h_errno /* For #ifndef h_errno tests. */ # define h_errno h_errno /* For #ifndef h_errno tests. */
# endif # endif
extern __thread int h_errno attribute_tls_model_ie; extern __thread int h_errno attribute_tls_model_ie;
# endif /* !NOT_IN_libc || IS_IN_LIB */ # endif /* IS_IN_LIB */
# define __set_h_errno(x) (h_errno = (x)) # define __set_h_errno(x) (h_errno = (x))
libc_hidden_proto (hstrerror) libc_hidden_proto (hstrerror)

View File

@ -13,7 +13,7 @@
#ifdef _RESOLV_H_ #ifdef _RESOLV_H_
# ifndef NOT_IN_libc # if IS_IN (libc)
# define __resp __libc_resp # define __resp __libc_resp
# endif # endif
extern __thread struct __res_state *__resp attribute_tls_model_ie; extern __thread struct __res_state *__resp attribute_tls_model_ie;

View File

@ -117,7 +117,7 @@ extern const char *const _sys_errlist_internal[] attribute_hidden;
extern int _sys_nerr_internal attribute_hidden; extern int _sys_nerr_internal attribute_hidden;
libc_hidden_proto (__asprintf) libc_hidden_proto (__asprintf)
# if !defined NOT_IN_libc # if IS_IN (libc)
extern _IO_FILE *_IO_new_fopen (const char*, const char*); extern _IO_FILE *_IO_new_fopen (const char*, const char*);
# define fopen(fname, mode) _IO_new_fopen (fname, mode) # define fopen(fname, mode) _IO_new_fopen (fname, mode)
extern _IO_FILE *_IO_new_fdopen (int, const char*); extern _IO_FILE *_IO_new_fdopen (int, const char*);

View File

@ -226,7 +226,7 @@ extern int __qfcvt_r (long double __value, int __ndigit,
int *__restrict __decpt, int *__restrict __sign, int *__restrict __decpt, int *__restrict __sign,
char *__restrict __buf, size_t __len); char *__restrict __buf, size_t __len);
# ifndef NOT_IN_libc # if IS_IN (libc)
# undef MB_CUR_MAX # undef MB_CUR_MAX
# define MB_CUR_MAX (_NL_CURRENT_WORD (LC_CTYPE, _NL_CTYPE_MB_CUR_MAX)) # define MB_CUR_MAX (_NL_CURRENT_WORD (LC_CTYPE, _NL_CTYPE_MB_CUR_MAX))
# endif # endif

View File

@ -57,7 +57,7 @@ extern __typeof (strcasecmp_l) __strcasecmp_l;
extern __typeof (strncasecmp_l) __strncasecmp_l; extern __typeof (strncasecmp_l) __strncasecmp_l;
/* Alternative version which doesn't pollute glibc's namespace. */ /* Alternative version which doesn't pollute glibc's namespace. */
#ifndef NOT_IN_libc #if IS_IN (libc)
# undef strndupa # undef strndupa
# define strndupa(s, n) \ # define strndupa(s, n) \
(__extension__ \ (__extension__ \
@ -115,7 +115,7 @@ libc_hidden_builtin_proto (strspn)
libc_hidden_builtin_proto (strstr) libc_hidden_builtin_proto (strstr)
libc_hidden_builtin_proto (ffs) libc_hidden_builtin_proto (ffs)
#if (defined NOT_IN_libc || !defined SHARED) \ #if (!IS_IN (libc) || !defined SHARED) \
&& !defined NO_MEMPCPY_STPCPY_REDIRECT && !defined NO_MEMPCPY_STPCPY_REDIRECT
/* Redirect calls to __builtin_mempcpy and __builtin_stpcpy to call /* Redirect calls to __builtin_mempcpy and __builtin_stpcpy to call
__mempcpy and __stpcpy if not inlined. */ __mempcpy and __stpcpy if not inlined. */

View File

@ -12,7 +12,7 @@ extern __mode_t __umask (__mode_t __mask);
extern int __mkdir (const char *__path, __mode_t __mode); extern int __mkdir (const char *__path, __mode_t __mode);
extern int __mknod (const char *__path, extern int __mknod (const char *__path,
__mode_t __mode, __dev_t __dev); __mode_t __mode, __dev_t __dev);
#if !defined NOT_IN_libc || IS_IN (rtld) #if IS_IN (libc) || IS_IN (rtld)
hidden_proto (__fxstat) hidden_proto (__fxstat)
hidden_proto (__fxstat64) hidden_proto (__fxstat64)
hidden_proto (__lxstat) hidden_proto (__lxstat)

View File

@ -80,7 +80,7 @@ libc_hidden_proto (__towupper_l)
/* The spec says that isdigit must only match the decimal digits. We /* The spec says that isdigit must only match the decimal digits. We
can check this without a memory access. */ can check this without a memory access. */
# ifndef NOT_IN_libc # if IS_IN (libc)
# undef iswdigit # undef iswdigit
# define iswdigit(c) ({ wint_t __c = (c); __c >= L'0' && __c <= L'9'; }) # define iswdigit(c) ({ wint_t __c = (c); __c >= L'0' && __c <= L'9'; })
# undef iswdigit_l # undef iswdigit_l

View File

@ -324,7 +324,7 @@ _nl_normalize_codeset (codeset, name_len)
char *retval; char *retval;
char *wp; char *wp;
size_t cnt; size_t cnt;
#ifdef NOT_IN_libc #if !IS_IN (libc)
locale_t locale = newlocale (0, "C", NULL); locale_t locale = newlocale (0, "C", NULL);
#else #else
# define locale _nl_C_locobj_ptr # define locale _nl_C_locobj_ptr

View File

@ -130,7 +130,7 @@ __idna_to_ascii_lz (const char *input, char **output, int flags)
} }
#ifndef NOT_IN_libc #if IS_IN (libc)
libc_freeres_fn (unload_libidn) libc_freeres_fn (unload_libidn)
{ {
if (h != NULL && h != (void *) 1l) if (h != NULL && h != (void *) 1l)

View File

@ -902,7 +902,7 @@ _IO_acquire_lock_clear_flags2_fct (_IO_FILE **p)
_IO_funlockfile (fp); _IO_funlockfile (fp);
} }
#if !defined _IO_MTSAFE_IO && !defined NOT_IN_libc #if !defined _IO_MTSAFE_IO && IS_IN (libc)
# define _IO_acquire_lock(_fp) \ # define _IO_acquire_lock(_fp) \
do { \ do { \
_IO_FILE *_IO_acquire_lock_file = NULL _IO_FILE *_IO_acquire_lock_file = NULL

View File

@ -88,14 +88,13 @@ locale-CPPFLAGS = -DLOCALEDIR='"$(localedir)"' \
CPPFLAGS-locale-programs = -DLOCALE_PATH='$(localepath)' \ CPPFLAGS-locale-programs = -DLOCALE_PATH='$(localepath)' \
-DCHARMAP_PATH='"$(i18ndir)/charmaps"' \ -DCHARMAP_PATH='"$(i18ndir)/charmaps"' \
-DREPERTOIREMAP_PATH='"$(i18ndir)/repertoiremaps"' \ -DREPERTOIREMAP_PATH='"$(i18ndir)/repertoiremaps"' \
-DLOCSRCDIR='"$(i18ndir)/locales"' \ -DLOCSRCDIR='"$(i18ndir)/locales"'
-DNOT_IN_libc
CFLAGS-charmap.c = -Wno-write-strings -Wno-char-subscripts CFLAGS-charmap.c = -Wno-write-strings -Wno-char-subscripts
CFLAGS-locfile.c = -Wno-write-strings -Wno-char-subscripts CFLAGS-locfile.c = -Wno-write-strings -Wno-char-subscripts
CFLAGS-charmap-dir.c = -Wno-write-strings CFLAGS-charmap-dir.c = -Wno-write-strings
# This makes sure -DNOT_IN_libc et al are passed for all these modules. # Set libof-* for each routine.
cpp-srcs-left := $(localedef-modules) $(localedef-aux) $(locale-modules) \ cpp-srcs-left := $(localedef-modules) $(localedef-aux) $(locale-modules) \
$(lib-modules) $(lib-modules)
lib := locale-programs lib := locale-programs

View File

@ -48,8 +48,6 @@ extra-objs = mcheck-init.o libmcheck.a
# Include the cleanup handler. # Include the cleanup handler.
aux := set-freeres thread-freeres aux := set-freeres thread-freeres
CPPFLAGS-memusagestat = -DNOT_IN_libc
# The Perl script to analyze the output of the mtrace functions. # The Perl script to analyze the output of the mtrace functions.
ifneq ($(PERL),no) ifneq ($(PERL),no)
install-bin-script = mtrace install-bin-script = mtrace

View File

@ -18,7 +18,7 @@
#include <pthreadP.h> #include <pthreadP.h>
#ifndef NOT_IN_libc #if IS_IN (libc)
# ifndef TLS_MULTIPLE_THREADS_IN_TCB # ifndef TLS_MULTIPLE_THREADS_IN_TCB
/* Variable set to a nonzero value either if more than one thread runs or ran, /* Variable set to a nonzero value either if more than one thread runs or ran,
or if a single-threaded process is trying to cancel itself. See or if a single-threaded process is trying to cancel itself. See

View File

@ -292,7 +292,7 @@ __do_cancel (void)
#define CANCEL_RESET(oldtype) \ #define CANCEL_RESET(oldtype) \
__pthread_disable_asynccancel (oldtype) __pthread_disable_asynccancel (oldtype)
#if !defined NOT_IN_libc #if IS_IN (libc)
/* Same as CANCEL_ASYNC, but for use in libc.so. */ /* Same as CANCEL_ASYNC, but for use in libc.so. */
# define LIBC_CANCEL_ASYNC() \ # define LIBC_CANCEL_ASYNC() \
__libc_enable_asynccancel () __libc_enable_asynccancel ()

View File

@ -79,7 +79,7 @@ CFLAGS-nscd_gethst_r.c = -fexceptions
CFLAGS-nscd_getai.c = -fexceptions CFLAGS-nscd_getai.c = -fexceptions
CFLAGS-nscd_initgroups.c = -fexceptions CFLAGS-nscd_initgroups.c = -fexceptions
CPPFLAGS-nscd += -D_FORTIFY_SOURCE=2 -DNOT_IN_libc CPPFLAGS-nscd += -D_FORTIFY_SOURCE=2
ifeq (yesyes,$(have-fpie)$(build-shared)) ifeq (yesyes,$(have-fpie)$(build-shared))
CFLAGS-nscd += $(pie-ccflag) CFLAGS-nscd += $(pie-ccflag)

View File

@ -106,7 +106,6 @@ $(inst_vardbdir)/Makefile: db-Makefile $(+force)
$(do-install) $(do-install)
libof-nss_test1 = extramodules libof-nss_test1 = extramodules
CPPFLAGS-nss_test1 = -DNOT_IN_libc=1
$(objpfx)/libnss_test1.so: $(objpfx)nss_test1.os $(link-libc-deps) $(objpfx)/libnss_test1.so: $(objpfx)nss_test1.os $(link-libc-deps)
$(build-module) $(build-module)
ifdef libnss_test1.so-version ifdef libnss_test1.so-version

View File

@ -381,7 +381,7 @@ typedef struct re_dfa_t re_dfa_t;
# endif # endif
#endif #endif
#ifndef NOT_IN_libc #if IS_IN (libc)
static reg_errcode_t re_string_realloc_buffers (re_string_t *pstr, static reg_errcode_t re_string_realloc_buffers (re_string_t *pstr,
int new_buf_len) int new_buf_len)
internal_function; internal_function;
@ -731,7 +731,7 @@ re_string_wchar_at (const re_string_t *pstr, int idx)
return (wint_t) pstr->wcs[idx]; return (wint_t) pstr->wcs[idx];
} }
# ifndef NOT_IN_libc # if IS_IN (libc)
# ifdef _LIBC # ifdef _LIBC
# include <locale/weight.h> # include <locale/weight.h>
# endif # endif

View File

@ -358,7 +358,7 @@ _res_hconf_init (void)
} }
#ifndef NOT_IN_libc #if IS_IN (libc)
# if defined SIOCGIFCONF && defined SIOCGIFNETMASK # if defined SIOCGIFCONF && defined SIOCGIFNETMASK
/* List of known interfaces. */ /* List of known interfaces. */
libc_freeres_ptr ( libc_freeres_ptr (

View File

@ -146,7 +146,6 @@ LDFLAGS-tst-putenv = $(no-as-needed)
$(objpfx)tst-putenvmod.so: $(objpfx)tst-putenvmod.os $(link-libc-deps) $(objpfx)tst-putenvmod.so: $(objpfx)tst-putenvmod.os $(link-libc-deps)
$(build-module) $(build-module)
libof-tst-putenvmod = extramodules libof-tst-putenvmod = extramodules
CFLAGS-tst-putenvmod.c = -DNOT_IN_libc=1
$(objpfx)bug-getcontext: $(libm) $(objpfx)bug-getcontext: $(libm)
$(objpfx)tst-strtod-round: $(libm) $(objpfx)tst-strtod-round: $(libm)

View File

@ -176,7 +176,8 @@ static char *macros[] =
/* Format string to build command to invoke compiler. */ /* Format string to build command to invoke compiler. */
static const char fmt[] = "\ static const char fmt[] = "\
echo \"#include <%s>\" |\ echo \"#include <%s>\" |\
%s -E -dM -ansi -pedantic %s -D_LIBC -D_ISOMAC -DNOT_IN_libc -I. \ %s -E -dM -ansi -pedantic %s -D_LIBC -D_ISOMAC \
-DIN_MODULE=MODULE_extramodules -I. \
-isystem `%s --print-prog-name=include` - 2> /dev/null > %s"; -isystem `%s --print-prog-name=include` - 2> /dev/null > %s";
@ -305,7 +306,7 @@ get_null_defines (void)
; ;
result[result_len] = xstrndup (start, end - start); result[result_len] = xstrndup (start, end - start);
if (strcmp (result[result_len], "NOT_IN_libc") != 0) if (strcmp (result[result_len], "IN_MODULE") != 0)
{ {
if (first) if (first)
{ {

View File

@ -166,7 +166,7 @@ $(cross-rpcgen-objs): $(objpfx)cross-%.o: %.c $(before-compile)
$(objpfx)cross-rpcgen: $(cross-rpcgen-objs) $(objpfx)cross-rpcgen: $(cross-rpcgen-objs)
$(BUILD_CC) $^ $(BUILD_LDFLAGS) -o $@ $(BUILD_CC) $^ $(BUILD_LDFLAGS) -o $@
# This makes sure -DNOT_IN_libc is passed for all these modules. # This makes sure -DIN_MODULE is passed for all these modules.
cpp-srcs-left := $(rpcgen-objs:.o=.c) cpp-srcs-left := $(rpcgen-objs:.o=.c)
lib := nonlib lib := nonlib
include $(patsubst %,$(..)cppflags-iterator.mk,$(cpp-srcs-left)) include $(patsubst %,$(..)cppflags-iterator.mk,$(cpp-srcs-left))

View File

@ -22,7 +22,7 @@
#include <sysdep.h> #include <sysdep.h>
#include <rtld-global-offsets.h> #include <rtld-global-offsets.h>
#ifndef NOT_IN_libc #if IS_IN (libc)
/* Under __ARM_NEON__, memcpy_neon.S defines the name memcpy. */ /* Under __ARM_NEON__, memcpy_neon.S defines the name memcpy. */
# ifndef __ARM_NEON__ # ifndef __ARM_NEON__
.text .text

View File

@ -69,7 +69,7 @@ ENTRY(memmove)
subs ip, r0, r1 subs ip, r0, r1
cmphi r2, ip cmphi r2, ip
#ifdef NOT_IN_libc #if !IS_IN (libc)
bls memcpy bls memcpy
#else #else
bls HIDDEN_JUMPTARGET(memcpy) bls HIDDEN_JUMPTARGET(memcpy)

View File

@ -344,7 +344,7 @@
/* Pointer mangling support. */ /* Pointer mangling support. */
#if (IS_IN (rtld) || \ #if (IS_IN (rtld) || \
(!defined SHARED && (!defined NOT_IN_libc || IS_IN (libpthread)))) (!defined SHARED && (IS_IN (libc) || IS_IN (libpthread))))
# ifdef __ASSEMBLER__ # ifdef __ASSEMBLER__
# define PTR_MANGLE_LOAD(guard, tmp) \ # define PTR_MANGLE_LOAD(guard, tmp) \
LDR_HIDDEN (guard, tmp, C_SYMBOL_NAME(__pointer_chk_guard_local), 0) LDR_HIDDEN (guard, tmp, C_SYMBOL_NAME(__pointer_chk_guard_local), 0)

View File

@ -46,12 +46,12 @@ extern char *_itoa (unsigned long long int value, char *buflim,
extern const char _itoa_upper_digits[]; extern const char _itoa_upper_digits[];
extern const char _itoa_lower_digits[]; extern const char _itoa_lower_digits[];
#if !defined NOT_IN_libc || IS_IN (rtld) #if IS_IN (libc) || IS_IN (rtld)
hidden_proto (_itoa_upper_digits) hidden_proto (_itoa_upper_digits)
hidden_proto (_itoa_lower_digits) hidden_proto (_itoa_lower_digits)
#endif #endif
#ifndef NOT_IN_libc #if IS_IN (libc)
extern char *_itoa_word (_ITOA_WORD_TYPE value, char *buflim, extern char *_itoa_word (_ITOA_WORD_TYPE value, char *buflim,
unsigned int base, int upper_case); unsigned int base, int upper_case);
#else #else

View File

@ -1,6 +1,6 @@
/* Some compiler optimizations may transform loops into memset/memmove /* Some compiler optimizations may transform loops into memset/memmove
calls and without proper declaration it may generate PLT calls. */ calls and without proper declaration it may generate PLT calls. */
#if !defined __ASSEMBLER__ && !defined NOT_IN_libc && defined SHARED #if !defined __ASSEMBLER__ && IS_IN (libc) && defined SHARED
asm ("memmove = __GI_memmove"); asm ("memmove = __GI_memmove");
asm ("memset = __GI_memset"); asm ("memset = __GI_memset");
asm ("memcpy = __GI_memcpy"); asm ("memcpy = __GI_memcpy");

View File

@ -40,7 +40,7 @@ $(objpfx)errlist-compat.c: $(errlist-c) $(..)sysdeps/gnu/errlist-compat.awk \
endif endif
$(make-target-directory) $(make-target-directory)
$(AWK) -v maxerr=`\ $(AWK) -v maxerr=`\
$(CC) -S $(CPPFLAGS) $(CFLAGS) -DNOT_IN_libc -DEMIT_ERR_MAX $< -o - \ $(CC) -S $(CPPFLAGS) $(CFLAGS) -DEMIT_ERR_MAX $< -o - \
| sed -n 's/^.*@@@[^0-9]*\([0-9]*\)[^0-9]*@@@.*$$/\1/p'` \ | sed -n 's/^.*@@@[^0-9]*\([0-9]*\)[^0-9]*@@@.*$$/\1/p'` \
-f $(..)sysdeps/gnu/errlist-compat.awk \ -f $(..)sysdeps/gnu/errlist-compat.awk \
$(wildcard $(sysdirs:=/Versions)) > $@T $(wildcard $(sysdirs:=/Versions)) > $@T

View File

@ -110,7 +110,7 @@ END {
print " (sizeof _sys_errlist_internal / sizeof _sys_errlist_internal [0])"; print " (sizeof _sys_errlist_internal / sizeof _sys_errlist_internal [0])";
print "const int _sys_nerr_internal = NERR;" print "const int _sys_nerr_internal = NERR;"
print ""; print "";
print "#if !defined NOT_IN_libc && !defined ERRLIST_NO_COMPAT"; print "#if IS_IN (libc) && !defined ERRLIST_NO_COMPAT";
print "# include <errlist-compat.c>"; print "# include <errlist-compat.c>";
print "#endif"; print "#endif";
print ""; print "";

View File

@ -1480,7 +1480,7 @@ TRANS error; @pxref{Cancel AIO Operations}. */
(sizeof _sys_errlist_internal / sizeof _sys_errlist_internal [0]) (sizeof _sys_errlist_internal / sizeof _sys_errlist_internal [0])
const int _sys_nerr_internal = NERR; const int _sys_nerr_internal = NERR;
#if !defined NOT_IN_libc && !defined ERRLIST_NO_COMPAT #if IS_IN (libc) && !defined ERRLIST_NO_COMPAT
# include <errlist-compat.c> # include <errlist-compat.c>
#endif #endif

View File

@ -32,7 +32,7 @@
#define LEN SRC+4 #define LEN SRC+4
.text .text
#if defined PIC && !defined NOT_IN_libc #if defined PIC && IS_IN (libc)
ENTRY (__memcpy_chk) ENTRY (__memcpy_chk)
movl 12(%esp), %eax movl 12(%esp), %eax
cmpl %eax, 16(%esp) cmpl %eax, 16(%esp)

View File

@ -35,7 +35,7 @@
#endif #endif
.text .text
#if defined PIC && !defined NOT_IN_libc && !BZERO_P #if defined PIC && IS_IN (libc) && !BZERO_P
ENTRY (__memset_chk) ENTRY (__memset_chk)
movl 12(%esp), %eax movl 12(%esp), %eax
cmpl %eax, 16(%esp) cmpl %eax, 16(%esp)

View File

@ -28,7 +28,7 @@
#define LEN SRC+4 #define LEN SRC+4
.text .text
#if defined PIC && !defined NOT_IN_libc #if defined PIC && IS_IN (libc)
ENTRY_CHK (__memcpy_chk) ENTRY_CHK (__memcpy_chk)
movl 12(%esp), %eax movl 12(%esp), %eax
cmpl %eax, 16(%esp) cmpl %eax, 16(%esp)

View File

@ -35,7 +35,7 @@
# define SRC DEST+4 # define SRC DEST+4
# define LEN SRC+4 # define LEN SRC+4
# if defined PIC && !defined NOT_IN_libc # if defined PIC && IS_IN (libc)
ENTRY_CHK (__memmove_chk) ENTRY_CHK (__memmove_chk)
movl 12(%esp), %eax movl 12(%esp), %eax
cmpl %eax, 16(%esp) cmpl %eax, 16(%esp)

View File

@ -28,7 +28,7 @@
#define LEN SRC+4 #define LEN SRC+4
.text .text
#if defined PIC && !defined NOT_IN_libc #if defined PIC && IS_IN (libc)
ENTRY_CHK (__mempcpy_chk) ENTRY_CHK (__mempcpy_chk)
movl 12(%esp), %eax movl 12(%esp), %eax
cmpl %eax, 16(%esp) cmpl %eax, 16(%esp)

View File

@ -36,7 +36,7 @@
#endif #endif
.text .text
#if defined PIC && !defined NOT_IN_libc && !BZERO_P #if defined PIC && IS_IN (libc) && !BZERO_P
ENTRY_CHK (__memset_chk) ENTRY_CHK (__memset_chk)
movl 12(%esp), %eax movl 12(%esp), %eax
cmpl %eax, 16(%esp) cmpl %eax, 16(%esp)
@ -99,7 +99,7 @@ ENTRY (memset)
END (memset) END (memset)
libc_hidden_builtin_def (memset) libc_hidden_builtin_def (memset)
#if defined PIC && !defined NOT_IN_libc && !BZERO_P #if defined PIC && IS_IN (libc) && !BZERO_P
strong_alias (__memset_chk, __memset_zero_constant_len_parameter) strong_alias (__memset_chk, __memset_zero_constant_len_parameter)
.section .gnu.warning.__memset_zero_constant_len_parameter .section .gnu.warning.__memset_zero_constant_len_parameter
.string "memset used with constant zero length parameter; this could be due to transposed parameters" .string "memset used with constant zero length parameter; this could be due to transposed parameters"

View File

@ -22,7 +22,7 @@
#include <init-arch.h> #include <init-arch.h>
/* Define multiple versions only for the definition in lib. */ /* Define multiple versions only for the definition in lib. */
#ifndef NOT_IN_libc #if IS_IN (libc)
# ifdef SHARED # ifdef SHARED
.text .text
ENTRY(bcopy) ENTRY(bcopy)

View File

@ -22,7 +22,7 @@
#include <init-arch.h> #include <init-arch.h>
/* Define multiple versions only for the definition in lib. */ /* Define multiple versions only for the definition in lib. */
#ifndef NOT_IN_libc #if IS_IN (libc)
# ifdef SHARED # ifdef SHARED
.text .text
ENTRY(__bzero) ENTRY(__bzero)

View File

@ -17,7 +17,7 @@
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <http://www.gnu.org/licenses/>. */
#ifndef NOT_IN_libc #if IS_IN (libc)
# include <sysdep.h> # include <sysdep.h>

View File

@ -17,7 +17,7 @@
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <http://www.gnu.org/licenses/>. */
#ifndef NOT_IN_libc #if IS_IN (libc)
# include <sysdep.h> # include <sysdep.h>

View File

@ -21,7 +21,7 @@
#include <sysdep.h> #include <sysdep.h>
#include <init-arch.h> #include <init-arch.h>
#ifndef NOT_IN_libc #if IS_IN (libc)
# define CFI_POP(REG) \ # define CFI_POP(REG) \
cfi_adjust_cfa_offset (-4); \ cfi_adjust_cfa_offset (-4); \
cfi_restore (REG) cfi_restore (REG)

View File

@ -17,7 +17,7 @@
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <http://www.gnu.org/licenses/>. */
#ifndef NOT_IN_libc #if IS_IN (libc)
# include <sysdep.h> # include <sysdep.h>

View File

@ -17,7 +17,7 @@
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <http://www.gnu.org/licenses/>. */
#ifndef NOT_IN_libc #if IS_IN (libc)
# include <sysdep.h> # include <sysdep.h>

View File

@ -22,7 +22,7 @@
#include <init-arch.h> #include <init-arch.h>
/* Define multiple versions only for the definition in libc. */ /* Define multiple versions only for the definition in libc. */
#ifndef NOT_IN_libc #if IS_IN (libc)
# ifdef SHARED # ifdef SHARED
.text .text
ENTRY(memcmp) ENTRY(memcmp)

View File

@ -19,7 +19,7 @@
#include <sysdep.h> #include <sysdep.h>
#if !defined NOT_IN_libc \ #if IS_IN (libc) \
&& (defined SHARED \ && (defined SHARED \
|| defined USE_AS_MEMMOVE \ || defined USE_AS_MEMMOVE \
|| !defined USE_MULTIARCH) || !defined USE_MULTIARCH)

View File

@ -17,7 +17,7 @@
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <http://www.gnu.org/licenses/>. */
#if !defined NOT_IN_libc \ #if IS_IN (libc) \
&& (defined SHARED \ && (defined SHARED \
|| defined USE_AS_MEMMOVE \ || defined USE_AS_MEMMOVE \
|| !defined USE_MULTIARCH) || !defined USE_MULTIARCH)

View File

@ -24,7 +24,7 @@
/* Define multiple versions only for the definition in lib and for /* Define multiple versions only for the definition in lib and for
DSO. In static binaries we need memcpy before the initialization DSO. In static binaries we need memcpy before the initialization
happened. */ happened. */
#if defined SHARED && !defined NOT_IN_libc #if defined SHARED && IS_IN (libc)
.text .text
ENTRY(memcpy) ENTRY(memcpy)
.type memcpy, @gnu_indirect_function .type memcpy, @gnu_indirect_function

View File

@ -24,7 +24,7 @@
/* Define multiple versions only for the definition in lib and for /* Define multiple versions only for the definition in lib and for
DSO. There are no multiarch memcpy functions for static binaries. DSO. There are no multiarch memcpy functions for static binaries.
*/ */
#ifndef NOT_IN_libc #if IS_IN (libc)
# ifdef SHARED # ifdef SHARED
.text .text
ENTRY(__memcpy_chk) ENTRY(__memcpy_chk)

View File

@ -22,7 +22,7 @@
#include <init-arch.h> #include <init-arch.h>
/* Define multiple versions only for the definition in lib. */ /* Define multiple versions only for the definition in lib. */
#ifndef NOT_IN_libc #if IS_IN (libc)
# ifdef SHARED # ifdef SHARED
.text .text
ENTRY(memmove) ENTRY(memmove)

View File

@ -22,7 +22,7 @@
#include <init-arch.h> #include <init-arch.h>
/* Define multiple versions only for the definition in lib. */ /* Define multiple versions only for the definition in lib. */
#ifndef NOT_IN_libc #if IS_IN (libc)
# ifdef SHARED # ifdef SHARED
.text .text
ENTRY(__memmove_chk) ENTRY(__memmove_chk)

View File

@ -24,7 +24,7 @@
/* Define multiple versions only for the definition in lib and for /* Define multiple versions only for the definition in lib and for
DSO. In static binaries we need mempcpy before the initialization DSO. In static binaries we need mempcpy before the initialization
happened. */ happened. */
#if defined SHARED && !defined NOT_IN_libc #if defined SHARED && IS_IN (libc)
.text .text
ENTRY(__mempcpy) ENTRY(__mempcpy)
.type __mempcpy, @gnu_indirect_function .type __mempcpy, @gnu_indirect_function

View File

@ -24,7 +24,7 @@
/* Define multiple versions only for the definition in lib and for /* Define multiple versions only for the definition in lib and for
DSO. There are no multiarch mempcpy functions for static binaries. DSO. There are no multiarch mempcpy functions for static binaries.
*/ */
#ifndef NOT_IN_libc #if IS_IN (libc)
# ifdef SHARED # ifdef SHARED
.text .text
ENTRY(__mempcpy_chk) ENTRY(__mempcpy_chk)

View File

@ -1,4 +1,4 @@
#ifndef NOT_IN_libc #if IS_IN (libc)
# define MEMRCHR __memrchr_ia32 # define MEMRCHR __memrchr_ia32
# include <string.h> # include <string.h>
extern void *__memrchr_ia32 (const void *, int, size_t); extern void *__memrchr_ia32 (const void *, int, size_t);

View File

@ -17,7 +17,7 @@
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <http://www.gnu.org/licenses/>. */
#ifndef NOT_IN_libc #if IS_IN (libc)
# include <sysdep.h> # include <sysdep.h>

View File

@ -17,7 +17,7 @@
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <http://www.gnu.org/licenses/>. */
#ifndef NOT_IN_libc #if IS_IN (libc)
# include <sysdep.h> # include <sysdep.h>
# define CFI_PUSH(REG) \ # define CFI_PUSH(REG) \

View File

@ -21,7 +21,7 @@
#include <sysdep.h> #include <sysdep.h>
#include <init-arch.h> #include <init-arch.h>
#ifndef NOT_IN_libc #if IS_IN (libc)
# define CFI_POP(REG) \ # define CFI_POP(REG) \
cfi_adjust_cfa_offset (-4); \ cfi_adjust_cfa_offset (-4); \
cfi_restore (REG) cfi_restore (REG)

View File

@ -17,7 +17,7 @@
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <http://www.gnu.org/licenses/>. */
#ifndef NOT_IN_libc #if IS_IN (libc)
#include <sysdep.h> #include <sysdep.h>
#include "asm-syntax.h" #include "asm-syntax.h"
@ -79,7 +79,7 @@
#endif #endif
.section .text.sse2,"ax",@progbits .section .text.sse2,"ax",@progbits
#if defined SHARED && !defined NOT_IN_libc && !defined USE_AS_BZERO #if defined SHARED && IS_IN (libc) && !defined USE_AS_BZERO
ENTRY (__memset_chk_sse2_rep) ENTRY (__memset_chk_sse2_rep)
movl 12(%esp), %eax movl 12(%esp), %eax
cmpl %eax, 16(%esp) cmpl %eax, 16(%esp)

View File

@ -17,7 +17,7 @@
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <http://www.gnu.org/licenses/>. */
#ifndef NOT_IN_libc #if IS_IN (libc)
#include <sysdep.h> #include <sysdep.h>
#include "asm-syntax.h" #include "asm-syntax.h"
@ -79,7 +79,7 @@
#endif #endif
.section .text.sse2,"ax",@progbits .section .text.sse2,"ax",@progbits
#if defined SHARED && !defined NOT_IN_libc && !defined USE_AS_BZERO #if defined SHARED && IS_IN (libc) && !defined USE_AS_BZERO
ENTRY (__memset_chk_sse2) ENTRY (__memset_chk_sse2)
movl 12(%esp), %eax movl 12(%esp), %eax
cmpl %eax, 16(%esp) cmpl %eax, 16(%esp)

View File

@ -22,7 +22,7 @@
#include <init-arch.h> #include <init-arch.h>
/* Define multiple versions only for the definition in lib. */ /* Define multiple versions only for the definition in lib. */
#ifndef NOT_IN_libc #if IS_IN (libc)
# ifdef SHARED # ifdef SHARED
.text .text
ENTRY(memset) ENTRY(memset)

View File

@ -22,7 +22,7 @@
#include <init-arch.h> #include <init-arch.h>
/* Define multiple versions only for the definition in lib. */ /* Define multiple versions only for the definition in lib. */
#ifndef NOT_IN_libc #if IS_IN (libc)
# ifdef SHARED # ifdef SHARED
.text .text
ENTRY(__memset_chk) ENTRY(__memset_chk)

View File

@ -21,7 +21,7 @@
#include <sysdep.h> #include <sysdep.h>
#include <init-arch.h> #include <init-arch.h>
#ifndef NOT_IN_libc #if IS_IN (libc)
# define CFI_POP(REG) \ # define CFI_POP(REG) \
cfi_adjust_cfa_offset (-4); \ cfi_adjust_cfa_offset (-4); \
cfi_restore (REG) cfi_restore (REG)

View File

@ -18,7 +18,7 @@
<http://www.gnu.org/licenses/>. */ <http://www.gnu.org/licenses/>. */
#ifndef NOT_IN_libc #if IS_IN (libc)
# include <sysdep.h> # include <sysdep.h>

View File

@ -18,7 +18,7 @@
<http://www.gnu.org/licenses/>. */ <http://www.gnu.org/licenses/>. */
#ifndef NOT_IN_libc #if IS_IN (libc)
# include <sysdep.h> # include <sysdep.h>

View File

@ -43,7 +43,7 @@
/* Define multiple versions only for the definition in libc. Don't /* Define multiple versions only for the definition in libc. Don't
define multiple versions for strncat in static library since we define multiple versions for strncat in static library since we
need strncat before the initialization happened. */ need strncat before the initialization happened. */
#ifndef NOT_IN_libc #if IS_IN (libc)
# ifdef SHARED # ifdef SHARED
.text .text

View File

@ -17,7 +17,7 @@
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <http://www.gnu.org/licenses/>. */
#ifndef NOT_IN_libc #if IS_IN (libc)
# include <sysdep.h> # include <sysdep.h>

View File

@ -17,7 +17,7 @@
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <http://www.gnu.org/licenses/>. */
#ifndef NOT_IN_libc #if IS_IN (libc)
# include <sysdep.h> # include <sysdep.h>

View File

@ -21,7 +21,7 @@
#include <sysdep.h> #include <sysdep.h>
#include <init-arch.h> #include <init-arch.h>
#ifndef NOT_IN_libc #if IS_IN (libc)
.text .text
ENTRY(strchr) ENTRY(strchr)
.type strchr, @gnu_indirect_function .type strchr, @gnu_indirect_function

View File

@ -17,7 +17,7 @@
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <http://www.gnu.org/licenses/>. */
#ifndef NOT_IN_libc #if IS_IN (libc)
#include <sysdep.h> #include <sysdep.h>
#include "asm-syntax.h" #include "asm-syntax.h"

View File

@ -17,7 +17,7 @@
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <http://www.gnu.org/licenses/>. */
#ifndef NOT_IN_libc #if IS_IN (libc)
#include <sysdep.h> #include <sysdep.h>
#include "asm-syntax.h" #include "asm-syntax.h"

View File

@ -50,7 +50,7 @@
/* Define multiple versions only for the definition in libc. Don't /* Define multiple versions only for the definition in libc. Don't
define multiple versions for strncmp in static library since we define multiple versions for strncmp in static library since we
need strncmp before the initialization happened. */ need strncmp before the initialization happened. */
#if (defined SHARED || !defined USE_AS_STRNCMP) && !defined NOT_IN_libc #if (defined SHARED || !defined USE_AS_STRNCMP) && IS_IN (libc)
# ifdef SHARED # ifdef SHARED
.text .text
ENTRY(STRCMP) ENTRY(STRCMP)

View File

@ -18,7 +18,7 @@
<http://www.gnu.org/licenses/>. */ <http://www.gnu.org/licenses/>. */
#ifndef NOT_IN_libc #if IS_IN (libc)
# include <sysdep.h> # include <sysdep.h>

View File

@ -18,7 +18,7 @@
<http://www.gnu.org/licenses/>. */ <http://www.gnu.org/licenses/>. */
#ifndef NOT_IN_libc #if IS_IN (libc)
# ifndef USE_AS_STRCAT # ifndef USE_AS_STRCAT
# include <sysdep.h> # include <sysdep.h>

View File

@ -59,7 +59,7 @@
/* Define multiple versions only for the definition in libc. Don't /* Define multiple versions only for the definition in libc. Don't
define multiple versions for strncpy in static library since we define multiple versions for strncpy in static library since we
need strncpy before the initialization happened. */ need strncpy before the initialization happened. */
#ifndef NOT_IN_libc #if IS_IN (libc)
# ifdef SHARED # ifdef SHARED
.text .text

View File

@ -41,7 +41,7 @@
/* Define multiple versions only for the definition in libc. Don't /* Define multiple versions only for the definition in libc. Don't
define multiple versions for strpbrk in static library since we define multiple versions for strpbrk in static library since we
need strpbrk before the initialization happened. */ need strpbrk before the initialization happened. */
#if (defined SHARED || !defined USE_AS_STRPBRK) && !defined NOT_IN_libc #if (defined SHARED || !defined USE_AS_STRPBRK) && IS_IN (libc)
# ifdef SHARED # ifdef SHARED
.text .text
ENTRY(STRCSPN) ENTRY(STRCSPN)

View File

@ -17,7 +17,7 @@
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <http://www.gnu.org/licenses/>. */
#if defined SHARED && !defined NOT_IN_libc #if defined SHARED && IS_IN (libc)
#include <sysdep.h> #include <sysdep.h>

View File

@ -19,7 +19,7 @@
/* for strlen only SHARED version is optimized, for strcat, strncat, strnlen both STATIC and SHARED are optimized */ /* for strlen only SHARED version is optimized, for strcat, strncat, strnlen both STATIC and SHARED are optimized */
#if (defined USE_AS_STRNLEN || defined USE_AS_STRCAT || defined SHARED) && !defined NOT_IN_libc #if (defined USE_AS_STRNLEN || defined USE_AS_STRCAT || defined SHARED) && IS_IN (libc)
# ifndef USE_AS_STRCAT # ifndef USE_AS_STRCAT

View File

@ -24,7 +24,7 @@
/* Define multiple versions only for the definition in libc and for the /* Define multiple versions only for the definition in libc and for the
DSO. In static binaries, we need strlen before the initialization DSO. In static binaries, we need strlen before the initialization
happened. */ happened. */
#if defined SHARED && !defined NOT_IN_libc #if defined SHARED && IS_IN (libc)
.text .text
ENTRY(strlen) ENTRY(strlen)
.type strlen, @gnu_indirect_function .type strlen, @gnu_indirect_function

View File

@ -21,7 +21,7 @@
#include <sysdep.h> #include <sysdep.h>
#include <init-arch.h> #include <init-arch.h>
#ifndef NOT_IN_libc #if IS_IN (libc)
.text .text
ENTRY(__strnlen) ENTRY(__strnlen)
.type __strnlen, @gnu_indirect_function .type __strnlen, @gnu_indirect_function

View File

@ -17,7 +17,7 @@
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <http://www.gnu.org/licenses/>. */
#ifndef NOT_IN_libc #if IS_IN (libc)
# include <sysdep.h> # include <sysdep.h>

View File

@ -17,7 +17,7 @@
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <http://www.gnu.org/licenses/>. */
#ifndef NOT_IN_libc #if IS_IN (libc)
# include <sysdep.h> # include <sysdep.h>

View File

@ -21,7 +21,7 @@
#include <sysdep.h> #include <sysdep.h>
#include <init-arch.h> #include <init-arch.h>
#ifndef NOT_IN_libc #if IS_IN (libc)
.text .text
ENTRY(strrchr) ENTRY(strrchr)
.type strrchr, @gnu_indirect_function .type strrchr, @gnu_indirect_function

View File

@ -26,7 +26,7 @@
#include <init-arch.h> #include <init-arch.h>
/* Define multiple versions only for the definition in libc. */ /* Define multiple versions only for the definition in libc. */
#ifndef NOT_IN_libc #if IS_IN (libc)
# ifdef SHARED # ifdef SHARED
.text .text
ENTRY(strspn) ENTRY(strspn)

View File

@ -1,6 +1,6 @@
#include <wchar.h> #include <wchar.h>
#ifndef NOT_IN_libc #if IS_IN (libc)
# ifdef SHARED # ifdef SHARED
# undef libc_hidden_def # undef libc_hidden_def
# define libc_hidden_def(name) \ # define libc_hidden_def(name) \

View File

@ -17,7 +17,7 @@
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <http://www.gnu.org/licenses/>. */
#ifndef NOT_IN_libc #if IS_IN (libc)
# include <sysdep.h> # include <sysdep.h>
# define CFI_PUSH(REG) \ # define CFI_PUSH(REG) \

View File

@ -21,7 +21,7 @@
#include <sysdep.h> #include <sysdep.h>
#include <init-arch.h> #include <init-arch.h>
#ifndef NOT_IN_libc #if IS_IN (libc)
.text .text
ENTRY(wcschr) ENTRY(wcschr)
.type wcschr, @gnu_indirect_function .type wcschr, @gnu_indirect_function

View File

@ -17,7 +17,7 @@
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ <http://www.gnu.org/licenses/>. */
#ifndef NOT_IN_libc #if IS_IN (libc)
# include <sysdep.h> # include <sysdep.h>

View File

@ -24,7 +24,7 @@
/* Define multiple versions only for the definition in libc and for the /* Define multiple versions only for the definition in libc and for the
DSO. In static binaries, we need wcscmp before the initialization DSO. In static binaries, we need wcscmp before the initialization
happened. */ happened. */
#ifndef NOT_IN_libc #if IS_IN (libc)
.text .text
ENTRY(wcscmp) ENTRY(wcscmp)
.type wcscmp, @gnu_indirect_function .type wcscmp, @gnu_indirect_function

Some files were not shown because too many files have changed in this diff Show More