aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2014-11-20 12:04:26 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2014-11-24 11:41:42 +0530
commit9a4848572bec992781311995e9e5e46eb226ce97 (patch)
treeccfe40e1b5ca5395b40d8d211e6e8a53d715212e
parenta10178bda190a62e7e3f56773f55f23cf06848a7 (diff)
downloadglibc-9a4848572bec992781311995e9e5e46eb226ce97.zip
glibc-9a4848572bec992781311995e9e5e46eb226ce97.tar.gz
glibc-9a4848572bec992781311995e9e5e46eb226ce97.tar.bz2
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.
-rw-r--r--ChangeLog2
-rw-r--r--elf/Makefile1
2 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index de672cf..f7613db 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
+ * 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 1cf4c3a..e559833 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)