[PATCH] RTEMS: Add Cortex-R52 multilib

Gedare Bloom gedare at rtems.org
Thu Dec 3 16:40:32 UTC 2020


seems fine to me, send to gcc

On Thu, Dec 3, 2020 at 1:39 AM Sebastian Huber <
sebastian.huber at embedded-brains.de> wrote:

> gcc/
>
>         * config/arm/t-rtems: Add "-mthumb -mcpu=cortex-r52
>         -mfloat-abi=hard" multilib.
> ---
>  gcc/config/arm/t-rtems | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/gcc/config/arm/t-rtems b/gcc/config/arm/t-rtems
> index 94a2eb7dd0b..b2fcf572bca 100644
> --- a/gcc/config/arm/t-rtems
> +++ b/gcc/config/arm/t-rtems
> @@ -17,8 +17,8 @@ MULTILIB_DIRNAMES     += eb
>  MULTILIB_OPTIONS       += mthumb
>  MULTILIB_DIRNAMES      += thumb
>
> -MULTILIB_OPTIONS       +=
> march=armv5te+fp/march=armv6-m/march=armv7-a/march=armv7-a+simd/march=armv7-r/march=armv7-r+fp/mcpu=cortex-m3/mcpu=cortex-m4/mcpu=cortex-m4+nofp/mcpu=cortex-m7
> -MULTILIB_DIRNAMES      += armv5te+fp       armv6-m       armv7-a
>  armv7-a+simd       armv7-r       armv7-r+fp       cortex-m3
> cortex-m4      cortex-m4+nofp      cortex-m7
> +MULTILIB_OPTIONS       +=
> march=armv5te+fp/march=armv6-m/march=armv7-a/march=armv7-a+simd/march=armv7-r/march=armv7-r+fp/mcpu=cortex-r52/mcpu=cortex-m3/mcpu=cortex-m4/mcpu=cortex-m4+nofp/mcpu=cortex-m7
> +MULTILIB_DIRNAMES      += armv5te+fp       armv6-m       armv7-a
>  armv7-a+simd       armv7-r       armv7-r+fp       cortex-r52
> cortex-m3      cortex-m4      cortex-m4+nofp      cortex-m7
>
>  MULTILIB_OPTIONS       += mfloat-abi=hard
>  MULTILIB_DIRNAMES      += hard
> @@ -31,6 +31,7 @@ MULTILIB_REQUIRED     +=
> mthumb/march=armv7-a+simd/mfloat-abi=hard
>  MULTILIB_REQUIRED      += mthumb/march=armv7-a
>  MULTILIB_REQUIRED      += mthumb/march=armv7-r+fp/mfloat-abi=hard
>  MULTILIB_REQUIRED      += mthumb/march=armv7-r
> +MULTILIB_REQUIRED      += mthumb/mcpu=cortex-r52/mfloat-abi=hard
>  MULTILIB_REQUIRED      += mthumb/mcpu=cortex-m3
>  MULTILIB_REQUIRED      += mthumb/mcpu=cortex-m4/mfloat-abi=hard
>  MULTILIB_REQUIRED      += mthumb/mcpu=cortex-m4+nofp
> --
> 2.26.2
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20201203/0e41ac84/attachment-0001.html>


More information about the devel mailing list