Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove IS_IN_libc
Replace it with IS_IN (libc) and remove the one place that it
is defined in.  The generated code remains unchanged on x86_64.

	* include/shlib-compat.h [!NOT_IN_libc]: Remove.
	* nss/nss_files/files-parse.c (IS_IN_libc): Replace with
	IS_IN (libc).
  • Loading branch information
Siddhesh Poyarekar committed Nov 24, 2014
1 parent 9a48485 commit 2886d2d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
@@ -1,5 +1,9 @@
2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>

* include/shlib-compat.h [!NOT_IN_libc]: Remove.
* nss/nss_files/files-parse.c (IS_IN_libc): Replace with
IS_IN (libc).

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

* elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
Expand Down
4 changes: 0 additions & 4 deletions include/shlib-compat.h
Expand Up @@ -45,10 +45,6 @@
&& (!(ABI_##lib##_##obsoleted - 0) \
|| ((ABI_##lib##_##introduced - 0) < (ABI_##lib##_##obsoleted - 0))))

# ifndef NOT_IN_libc
# define IS_IN_libc 1
# endif

/* That header also defines symbols like `VERSION_libm_GLIBC_2_1' to
the version set name to use for e.g. symbols first introduced into
libm in the GLIBC_2.1 version. Definitions of symbols with explicit
Expand Down
2 changes: 1 addition & 1 deletion nss/nss_files/files-parse.c
Expand Up @@ -73,7 +73,7 @@ struct parser_data
/* Export the line parser function so it can be used in nss_db. */
# define parser_stclass /* Global */
# define parse_line CONCAT(_nss_files_parse_,ENTNAME)
# ifdef IS_IN_libc
# if IS_IN (libc)
/* We are defining one of the functions that actually lives in libc
because it is used to implement fget*ent and suchlike. */
# define nss_files_parse_hidden_def(name) libc_hidden_def (name)
Expand Down

0 comments on commit 2886d2d

Please sign in to comment.