repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2016-12-21 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
noplt-gd-3.c
blob
6b0e780b74503972e128e1d7f192644cb4c49294
1
/* { dg-do compile { target { *-*-linux* && { ia32 && tls_get_addr_via_got } } } } */
2
/* { dg-options "-fpic -fno-plt" } */
3
4
extern
__thread
int
gd
;
5
6
int
*
7
get_gd
(
void
)
8
{
9
return
&
gd
;
10
}
11
12
/* { dg-final { scan-assembler-not "call\[ \t\]\\*___tls_get_addr@GOT\\(%ebx\\)" } } */