| 1 |
/* { dg-do compile } */ |
| 2 |
/* { dg-options "-O2 -mcmodel=normal -mexplicit-relocs -mrelax" } */ |
| 3 |
/* { dg-final { scan-assembler-times "R_LARCH_RELAX" 2 { target tls_native } } } */ |
| 4 |
|
| 5 |
extern __thread int errno; |
| 6 |
|
| 7 |
void |
| 8 |
unimplemented (void) |
| 9 |
{ |
| 10 |
errno = -38; |
| 11 |
} |