diff options
author | Daniel Hellstrom <daniel@gaisler.com> | 2021-01-19 10:39:51 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-01-19 13:57:58 +0100 |
commit | 4b690f161b82e428dbe648075da215daa52be0ea (patch) | |
tree | 252e75c7e64fd3cf8936907cedbd1d67e62dcc30 | |
parent | 7d6f7e92c3b737736a2d8ff97a71af9f230c2f88 (diff) | |
download | gcc-4b690f161b82e428dbe648075da215daa52be0ea.zip gcc-4b690f161b82e428dbe648075da215daa52be0ea.tar.gz gcc-4b690f161b82e428dbe648075da215daa52be0ea.tar.bz2 |
sparc,rtems: add __FIX_LEON3FT_TN0018 for affected targets
Enable a define FIX_LEON3FT_TN0018 for the LEON3FT targets affected
by the GRLIB-TN-0018 errata described here:
https://www.gaisler.com/notes
gcc/
* config/sparc/rtemself.h (TARGET_OS_CPP_BUILTINS): Add
built-in define __FIX_LEON3FT_TN0018.
-rw-r--r-- | gcc/config/sparc/rtemself.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/config/sparc/rtemself.h b/gcc/config/sparc/rtemself.h index 580d7b1..fa972af 100644 --- a/gcc/config/sparc/rtemself.h +++ b/gcc/config/sparc/rtemself.h @@ -33,6 +33,8 @@ builtin_assert ("system=rtems"); \ if (sparc_fix_b2bst) \ builtin_define ("__FIX_LEON3FT_B2BST"); \ + if (sparc_fix_gr712rc || sparc_fix_ut700 || sparc_fix_ut699) \ + builtin_define ("__FIX_LEON3FT_TN0018"); \ } \ while (0) |