[GCC PATCH] rtems: add __FIX_LEON3FT_TN0018 for affected targets
Sebastian Huber
sebastian.huber at embedded-brains.de
Thu Nov 5 07:08:51 UTC 2020
Hello Daniel,
could you please send this patch to the gcc-patches list. With a
ChangeLog entry in the commit message, for example:
gcc/
* config/sparch/rtemself.h (TARGET_OS_CPP_BUILTINS): Add built-in
define __FIX_LEON3FT_TN0018.
On 16/10/2020 16:55, Daniel Hellstrom wrote:
> Enable a define FIX_LEON3FT_TN0018 for the LEON3FT targets affecdted
> by the GRLIB-TN-0018 errata described here:
> https://www.gaisler.com/notes
> ---
> gcc/config/sparc/rtemself.h | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/gcc/config/sparc/rtemself.h b/gcc/config/sparc/rtemself.h
> index 6570590..ddec98c 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)
>
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber at embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
More information about the devel
mailing list