mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Fix missing .ctors/.dtors lead word in soinit
This commit is contained in:
@ -8,11 +8,11 @@
|
||||
# include <stdlib.h>
|
||||
|
||||
static void (*const __CTOR_LIST__[1]) (void)
|
||||
__attribute__ ((section (".ctors")))
|
||||
= { (void (*) (void)) -1 };
|
||||
__attribute__ ((used, section (".ctors")))
|
||||
= { (void (*) (void)) -1 };
|
||||
static void (*const __DTOR_LIST__[1]) (void)
|
||||
__attribute__ ((section (".dtors")))
|
||||
= { (void (*) (void)) -1 };
|
||||
__attribute__ ((used, section (".dtors")))
|
||||
= { (void (*) (void)) -1 };
|
||||
|
||||
static inline void
|
||||
run_hooks (void (*const list[]) (void))
|
||||
|
Reference in New Issue
Block a user