This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Suppress incorrect link warnings for NSS symbols
- From: Roland McGrath <roland at hack dot frob dot com>
- To: Chris Metcalf <cmetcalf at tilera dot com>
- Cc: <libc-alpha at sourceware dot org>
- Date: Mon, 29 Oct 2012 16:13:54 -0700 (PDT)
- Subject: Re: [PATCH] Suppress incorrect link warnings for NSS symbols
- References: <201210292254.q9TMs87g031770@farm-0002.internal.tilera.com>
Don't change the general case. Instead, add a macro in nsswitch.h called
nss_interface_function. Conditionalize the definition there on
DO_STATIC_NSS. Use that in place of static_link_warning for the NSS
interfaces.