This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Use SHLIB_COMPAT for libc symbols only if building libc.so
- From: Roland McGrath <roland at hack dot frob dot com>
- To: Siddhesh Poyarekar <siddhesh at redhat dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Tue, 18 Mar 2014 15:48:14 -0700 (PDT)
- Subject: Re: [PATCH] Use SHLIB_COMPAT for libc symbols only if building libc.so
- Authentication-results: sourceware.org; auth=none
- References: <20140318055403 dot GR1850 at spoyarek dot pnq dot redhat dot com>
This seems worse to me. I've been vaguely noodling about some centralized
macro regime to make the NOT_IN_*/IS_IN_* cases #if-friendly. Let's figure
out what we want to do about those in general before considering
SHLIB_COMPAT. I tend to think that it's a more maintainable interface to
have '#if SHLIB_COMPAT (libfoo, ...)' be a standalone test that encompasses
the IS_IN_libfoo test (just as it encompasses the SHARED test).
Thanks,
ROland