[PATCH v2 06/19] Define IN_MODULE for translation units that define NOT_IN_libc

Siddhesh Poyarekar siddhesh@redhat.com
Wed Sep 17 12:29:00 GMT 2014


Hi,

I have now rebased this patch against the current master.  interp.c
does not need the CPPFLAGS anymore, so sotruss-lib is the only code to
be built as extramodules to eventually replace the NOT_IN_libc macro.

Build tested on x86_64 to ensure that the generated code is unchanged.

Siddhesh

    	* elf/Makefile (libof-sotruss-lib): Set as extramodules.

diff --git a/elf/Makefile b/elf/Makefile
index 677635b..7a5a9aa 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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20140917/0736feff/attachment.sig>


More information about the Libc-alpha mailing list