mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-07 00:50:50 +00:00
libc/csu: Do not compile the finalizer() for PIC build
Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D41148
This commit is contained in:
parent
29edff0dea
commit
241a55b461
|
@ -76,6 +76,7 @@ process_irelocs(void)
|
|||
#error "Define platform reloc type"
|
||||
#endif
|
||||
|
||||
#ifndef PIC
|
||||
static void
|
||||
finalizer(void)
|
||||
{
|
||||
|
@ -90,6 +91,7 @@ finalizer(void)
|
|||
}
|
||||
_fini();
|
||||
}
|
||||
#endif
|
||||
|
||||
static void
|
||||
handle_static_init(int argc, char **argv, char **env)
|
||||
|
|
Loading…
Reference in a new issue