This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch 2/2][Arm] Implement TARGET_HOOK_SANITIZE_CLONE_ATTRIBUTES to remove cmse_nonsecure_entry
- From: Ramana Radhakrishnan <ramana dot gcc at googlemail dot com>
- To: "Andre Vieira (lists)" <andre dot simoesdiasvieira at arm dot com>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 11 Oct 2019 00:29:47 +0100
- Subject: Re: [Patch 2/2][Arm] Implement TARGET_HOOK_SANITIZE_CLONE_ATTRIBUTES to remove cmse_nonsecure_entry
- References: <b79e5e62-d081-321f-a019-9b044d51b5e3@arm.com> <5a9d0431-f483-01bb-01d0-949e9badb765@arm.com>
On Tue, Oct 8, 2019 at 4:21 PM Andre Vieira (lists)
<andre.simoesdiasvieira@arm.com> wrote:
>
> Hi,
>
> This patch implements the TARGET_HOOK_SANITIZE_CLONE_ATTRIBUTES for the
> arm backend to remove the 'cmse_nonsecure_entry' attribute from cmse.
>
> Bootstrapped the series on x86_64 and built arm-none-eabi, running the
> cmse testsuite for armv8-m.main and armv8-m.base.
>
> Is this OK for trunk?
Ok if the common bit is approved. And do watch out for any testsuite
multilib fallout.
Ramana
>
> Cheers,
> Andre
>
> gcc/ChangeLog:
>
> 2019-10-08 Andre Vieira <andre.simoesdiasvieira@arm.com>
>
> * config/arm/arm.c (TARGET_SANITIZE_CLONE_ATTRIBUTES): Define.
> (arm_sanitize_clone_attributes): New.
>
> gcc/testsuite/ChangeLog:
> 2019-10-08 Andre Vieira <andre.simoesdiasvieira@arm.com>
>
> * gcc.target/arm/cmse/ipa-clone.c: New test.