URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
/* Make sure that we honor initial-exec. */
|
/* Make sure that we honor initial-exec. */
|
/* { dg-do compile { target alpha*-*-* } } */
|
/* { dg-do compile { target alpha*-*-* } } */
|
/* { dg-options "" } */
|
/* { dg-options "" } */
|
/* { dg-require-effective-target tls } */
|
/* { dg-require-effective-target tls } */
|
|
|
static __thread int xyzzy __attribute__ ((tls_model ("initial-exec")));
|
static __thread int xyzzy __attribute__ ((tls_model ("initial-exec")));
|
int foo(void) { return xyzzy; }
|
int foo(void) { return xyzzy; }
|
|
|
/* { dg-final { scan-assembler "gottprel" } } */
|
/* { dg-final { scan-assembler "gottprel" } } */
|
/* { dg-final { scan-assembler-not "tprel(lo|hi|16)" } } */
|
/* { dg-final { scan-assembler-not "tprel(lo|hi|16)" } } */
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.