From: Siddhesh Poyarekar Date: Thu, 20 Nov 2014 06:34:26 +0000 (+0530) Subject: Define IN_MODULE for translation units that define NOT_IN_libc X-Git-Tag: glibc-2.21~352 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9a4848572bec992781311995e9e5e46eb226ce97;p=thirdparty%2Fglibc.git Define IN_MODULE for translation units that define NOT_IN_libc Make sure that all instances where NOT_IN_libc is defined also defines IN_MODULE to facilitate removal NOT_IN_libc in future passes. Verified that the generated code is unchanged on x86_64. * elf/Makefile (libof-sotruss-lib): Set as extramodules. --- diff --git a/ChangeLog b/ChangeLog index de672cf04b5..f7613dbf509 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2014-11-24 Siddhesh Poyarekar + * elf/Makefile (libof-sotruss-lib): Set as extramodules. + * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB. * elf/rtld-Rules (rtld-CPPFLAGS): Likewise. * extra-lib.mk (CPPFLAGS-$(lib)): Likewise. diff --git a/elf/Makefile b/elf/Makefile index 1cf4c3a4014..e5598335a1e 100644 --- a/elf/Makefile +++ b/elf/Makefile @@ -96,6 +96,7 @@ extra-objs += sotruss-lib.os sotruss-lib.so install-others += $(inst_auditdir)/sotruss-lib.so install-bin-script += sotruss generated += sotruss +libof-sotruss-lib = extramodules CPPFLAGS-sotruss-lib = -DNOT_IN_libc $(objpfx)sotruss-lib.so: $(objpfx)sotruss-lib.os $(build-module-asneeded)