sparc,rtems: add __FIX_LEON3FT_TN0018 for affected targets
authorDaniel Hellstrom <daniel@gaisler.com>
Tue, 19 Jan 2021 09:39:51 +0000 (10:39 +0100)
committerSebastian Huber <sebastian.huber@embedded-brains.de>
Tue, 19 Jan 2021 12:57:58 +0000 (13:57 +0100)
commit4b690f161b82e428dbe648075da215daa52be0ea
tree252e75c7e64fd3cf8936907cedbd1d67e62dcc30
parent7d6f7e92c3b737736a2d8ff97a71af9f230c2f88
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.
gcc/config/sparc/rtemself.h