mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-12 12:16:04 +08:00
10 lines
117 B
C
10 lines
117 B
C
|
extern int foo;
|
||
|
extern int foo2;
|
||
|
|
||
|
static void
|
||
|
__attribute__ ((unused, constructor))
|
||
|
set_foo (void)
|
||
|
{
|
||
|
foo = foo2;
|
||
|
}
|