Siddhesh Poyarekar a10178bda1 Remove IN_LIB
Replace with IS_IN and IS_IN_LIB macros instead.  This change results
in a change in generated code, because it fixes a subtle bug.  The bug
was introduced when systemtap probes were added to lowlevellock.h,
which resulted in stap-probe.h being included in a number of places.
stap-probe.h always defines IN_LIB, which breaks a check in errno.h
and netdb.h since they rely on that macro to decide whether to
implement an internal version of a declaration or an external one.

The components that see a code change due to this are:

iconv_prog
libmemusage.so
libpcprofile.so
libSegFault.so
libutil.so.1
locale
localedef
nscd

All other built components (i.e. libc, libpthread, etc.) remain
unchanged by this on x86_64.

	* elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
	* elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
	* extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
	* include/libc-symbols.h (IS_IN_LIB): New macro.
	* include/errno.h: Use IS_IN_LIB instead of IN_LIB.
	* include/netdb.h: Likewise.
	* include/stap-probe.h: Remove all uses of IN_LIB.
2014-11-24 11:41:42 +05:30
..
2014-11-07 01:27:16 +00:00
2012-01-07 23:57:22 -05:00
2012-05-24 23:08:18 +02:00
2013-09-04 20:47:21 +00:00
2014-10-30 14:00:26 -07:00
2012-11-21 06:33:19 -08:00
2014-11-24 11:41:42 +05:30
2012-01-07 23:57:22 -05:00
2014-10-30 19:44:31 +00:00
2009-04-23 18:29:30 +00:00
2011-10-31 01:51:16 -04:00
2014-11-24 11:41:42 +05:30
2012-05-24 23:08:18 +02:00
2012-05-24 23:06:20 +02:00
2012-05-31 13:10:02 +02:00
2014-11-24 11:41:42 +05:30
2012-01-07 23:57:22 -05:00
2014-11-14 11:06:08 -08:00
2014-03-14 11:32:51 -07:00
2014-11-24 11:41:42 +05:30
2014-11-12 22:33:41 +00:00
2014-11-14 13:48:39 +00:00
2012-01-07 23:57:22 -05:00