blob: 6b0e780b74503972e128e1d7f192644cb4c49294 [file] [log] [blame]
/* { dg-do compile { target { *-*-linux* && { ia32 && tls_get_addr_via_got } } } } */
/* { dg-options "-fpic -fno-plt" } */
extern __thread int gd;
int *
get_gd (void)
{
return &gd;
}
/* { dg-final { scan-assembler-not "call\[ \t\]\\*___tls_get_addr@GOT\\(%ebx\\)" } } */