repo.or.cz
/
binutils-gdb.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
ld: Update function prototypes for compilers defaulting to -std=gnu23
[binutils-gdb.git]
/
ld
/
testsuite
/
ld-elf
/
pr21964-1b.c
blob
688bbeb68702b39794998a897454eafc0c34d639
1
extern
int
__start___verbose
[];
2
extern
int
__stop___verbose
[];
3
int
4
foo2
(
void
)
5
{
6
static int
my_var
__attribute__
((
used
,
section
(
"__verbose"
))) =
10
;
7
if
(&
__start___verbose
[
0
] == &
__stop___verbose
[
0
]
8
||
__start___verbose
[
0
] !=
10
)
9
return
-
1
;
10
else
11
return
0
;
12
}