repo.or.cz
/
glibc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix use of uninitialized variable
[glibc.git]
/
elf
/
tst-unique2mod2.c
blob
aa28f29ba9453b4cf15583653a595bd63e39ca43
1
#include <config.h>
2
3
#ifdef HAVE_ASM_UNIQUE_OBJECT
4
asm
(
".data;"
5
".globl var
\n
"
6
".type var, %gnu_unique_object
\n
"
7
".size var, 4
\n
"
8
"var:.zero 4
\n
"
9
".previous"
);
10
extern
int
var
;
11
12
int
13
f
(
int
*
p
)
14
{
15
return
&
var
!=
p
|| *
p
!=
1
;
16
}
17
#endif