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
PowerPC: Fix gettimeofday ifunc selection
[glibc.git]
/
elf
/
tst-unique1mod1.c
blob
f59029d05533e36a1aa11f1e17e13bc0ee179834
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
(
void
)
14
{
15
var
=
1
;
16
return
&
var
;
17
}
18
#endif