mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
12 lines
267 B
C
12 lines
267 B
C
|
extern int __start___verbose[];
|
||
|
extern int __stop___verbose[];
|
||
|
int foo (void)
|
||
|
{
|
||
|
static int my_var __attribute__((used, section("__verbose"))) = 5;
|
||
|
if (__start___verbose == __stop___verbose
|
||
|
&& __start___verbose[0] != 5)
|
||
|
return -1;
|
||
|
else
|
||
|
return 0;
|
||
|
}
|