|
|
bca718 |
commit 2886d2d14dd7de6339b04505c5d2f9fc5c844751
|
|
|
bca718 |
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
|
|
|
bca718 |
Date: Thu Nov 20 12:21:01 2014 +0530
|
|
|
bca718 |
|
|
|
bca718 |
Remove IS_IN_libc
|
|
|
bca718 |
|
|
|
bca718 |
Replace it with IS_IN (libc) and remove the one place that it
|
|
|
bca718 |
is defined in. The generated code remains unchanged on x86_64.
|
|
|
bca718 |
|
|
|
bca718 |
* include/shlib-compat.h [!NOT_IN_libc]: Remove.
|
|
|
bca718 |
* nss/nss_files/files-parse.c (IS_IN_libc): Replace with
|
|
|
bca718 |
IS_IN (libc).
|
|
|
bca718 |
|
|
|
bca718 |
Index: glibc-2.17-c758a686/include/shlib-compat.h
|
|
|
bca718 |
===================================================================
|
|
|
bca718 |
--- glibc-2.17-c758a686.orig/include/shlib-compat.h
|
|
|
bca718 |
+++ glibc-2.17-c758a686/include/shlib-compat.h
|
|
|
bca718 |
@@ -49,10 +49,6 @@
|
|
|
bca718 |
&& (!(ABI_##lib##_##obsoleted - 0) \
|
|
|
bca718 |
|| ((ABI_##lib##_##introduced - 0) < (ABI_##lib##_##obsoleted - 0))))
|
|
|
bca718 |
|
|
|
bca718 |
-# ifndef NOT_IN_libc
|
|
|
bca718 |
-# define IS_IN_libc 1
|
|
|
bca718 |
-# endif
|
|
|
bca718 |
-
|
|
|
bca718 |
/* That header also defines symbols like `VERSION_libm_GLIBC_2_1' to
|
|
|
bca718 |
the version set name to use for e.g. symbols first introduced into
|
|
|
bca718 |
libm in the GLIBC_2.1 version. Definitions of symbols with explicit
|
|
|
bca718 |
Index: glibc-2.17-c758a686/nss/nss_files/files-parse.c
|
|
|
bca718 |
===================================================================
|
|
|
bca718 |
--- glibc-2.17-c758a686.orig/nss/nss_files/files-parse.c
|
|
|
bca718 |
+++ glibc-2.17-c758a686/nss/nss_files/files-parse.c
|
|
|
bca718 |
@@ -72,7 +72,7 @@ struct parser_data
|
|
|
bca718 |
/* Export the line parser function so it can be used in nss_db. */
|
|
|
bca718 |
# define parser_stclass /* Global */
|
|
|
bca718 |
# define parse_line CONCAT(_nss_files_parse_,ENTNAME)
|
|
|
bca718 |
-# ifdef IS_IN_libc
|
|
|
bca718 |
+# if IS_IN (libc)
|
|
|
bca718 |
/* We are defining one of the functions that actually lives in libc
|
|
|
bca718 |
because it is used to implement fget*ent and suchlike. */
|
|
|
bca718 |
# define nss_files_parse_hidden_def(name) libc_hidden_def (name)
|