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