mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-21 22:22:50 +03:00
elf: Add dummy declaration of _dl_audit_objclose for !SHARED
This allows us to avoid some #ifdef SHARED conditionals. Reviewed-by: Carlos O'Donell <carlos@redhat.com>
This commit is contained in:
@@ -1383,7 +1383,14 @@ void DL_ARCH_FIXUP_ATTRIBUTE _dl_audit_pltexit (struct link_map *l,
|
|||||||
const void *inregs,
|
const void *inregs,
|
||||||
void *outregs)
|
void *outregs)
|
||||||
attribute_hidden;
|
attribute_hidden;
|
||||||
#endif /* SHARED */
|
|
||||||
|
#else /* !SHARED */
|
||||||
|
static inline void
|
||||||
|
_dl_audit_objclose (struct link_map *l)
|
||||||
|
{
|
||||||
|
/* No audit implementation for !SHARED. */
|
||||||
|
}
|
||||||
|
#endif /* !SHARED */
|
||||||
|
|
||||||
#if PTHREAD_IN_LIBC && defined SHARED
|
#if PTHREAD_IN_LIBC && defined SHARED
|
||||||
/* Recursive locking implementation for use within the dynamic loader.
|
/* Recursive locking implementation for use within the dynamic loader.
|
||||||
|
Reference in New Issue
Block a user