about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2014-08-21 14:24:58 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2014-11-05 16:09:39 +0530
commitbec065bf56873c5a21a30096a2bf16083f47653e (patch)
treec4d055d66725c5108492e66ec19d6be17eec8ac2
parent8535ab4b3667b8968fb9fef2db42658c55c60cf0 (diff)
downloadglibc-bec065bf56873c5a21a30096a2bf16083f47653e.tar.gz
glibc-bec065bf56873c5a21a30096a2bf16083f47653e.tar.xz
glibc-bec065bf56873c5a21a30096a2bf16083f47653e.zip
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--elf/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/elf/Makefile b/elf/Makefile
index 677635bc92..7a5a9aad9a 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)