This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 25/07/16 14:23, Andre Vieira (lists) wrote: > This patch extends support for the ARMv8-M Security Extensions > 'cmse_nonsecure_entry' attribute in two ways: > > 1) Generate two labels for the function, the regular function name and > one with the function's name appended to '__acle_se_', this will trigger > the linker to create a secure gateway veneer for this entry function. > 2) Return from cmse_nonsecure_entry marked functions using bxns. > > See Section 5.4 of ARM®v8-M Security Extensions > (http://infocenter.arm.com/help/topic/com.arm.doc.ecm0359818/index.html). > > > *** gcc/ChangeLog *** > 2016-07-25 Andre Vieira <andre.simoesdiasvieira@arm.com> > Thomas Preud'homme <thomas.preudhomme@arm.com> > > * config/arm/arm.c (use_return_insn): Change to return with bxns > when cmse_nonsecure_entry. > (output_return_instruction): Likewise. > (arm_output_function_prologue): Likewise. > (thumb_pop): Likewise. > (thumb_exit): Likewise. > (arm_function_ok_for_sibcall): Disable sibcall for entry functions. > (arm_asm_declare_function_name): New. > * config/arm/arm-protos.h (arm_asm_declare_function_name): New. > * config/arm/elf.h (ASM_DECLARE_FUNCTION_NAME): Redefine to > use arm_asm_declare_function_name. > > *** gcc/testsuite/ChangeLog *** > 2016-07-25 Andre Vieira <andre.simoesdiasvieira@arm.com> > Thomas Preud'homme <thomas.preudhomme@arm.com> > > * gcc.target/arm/cmse/cmse-2.c: New. > * gcc.target/arm/cmse/cmse-4.c: New. > Hi, Rebased previous patch on top of trunk as requested. No changes to ChangeLog. Cheers, Andre
Attachment:
diff3
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |