diff --git a/elf/constload2.c b/elf/constload2.c index b665036c16..bf1bf182f3 100644 --- a/elf/constload2.c +++ b/elf/constload2.c @@ -5,6 +5,7 @@ extern int bar (void); extern int baz (void); extern int foo (void); +extern void __attribute__ ((__constructor__)) init (void); void *h; @@ -20,6 +21,7 @@ baz (void) return -21; } + void __attribute__ ((__constructor__)) init (void)