bca718
commit 9a4848572bec992781311995e9e5e46eb226ce97
bca718
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
bca718
Date:   Thu Nov 20 12:04:26 2014 +0530
bca718
bca718
    Define IN_MODULE for translation units that define NOT_IN_libc
bca718
    
bca718
    Make sure that all instances where NOT_IN_libc is defined also defines
bca718
    IN_MODULE to facilitate removal NOT_IN_libc in future passes.
bca718
    
bca718
    Verified that the generated code is unchanged on x86_64.
bca718
    
bca718
    	* elf/Makefile (libof-sotruss-lib): Set as extramodules.
bca718
bca718
Index: glibc-2.17-c758a686/elf/Makefile
bca718
===================================================================
bca718
--- glibc-2.17-c758a686.orig/elf/Makefile
bca718
+++ glibc-2.17-c758a686/elf/Makefile
bca718
@@ -98,6 +98,7 @@ extra-objs += sotruss-lib.os sotruss-lib
bca718
 install-others += $(inst_auditdir)/sotruss-lib.so
bca718
 install-bin-script += sotruss
bca718
 generated += sotruss
bca718
+libof-sotruss-lib = extramodules
bca718
 CPPFLAGS-sotruss-lib = -DNOT_IN_libc
bca718
 $(objpfx)sotruss-lib.so: $(objpfx)sotruss-lib.os
bca718
 	$(build-module-asneeded)