This repository has been archived by the owner on Jan 24, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
297: Add a section to place the veneers in memory r=jonas-schievink a=hug-dev The veneers are for now only generated by the Arm GNU linker when it spots an entry function (one that was decorated with the cmse_nonsecure_entry attribute). Adding this section will allow to configure the SAU to make this section Non-Secure Callable. Doing tests locally I could not see any warnings if this section was empty so I think this is fine. It is highly specific to the GNU toolchain so maybe you would want some preprocessing directive and `cfg` options which I am happy to add. There is documentation for the section name at the end of [this page](https://sourceware.org/binutils/docs/ld/ARM.html). It needs to be aligned on 32 bytes as a requirement from the Security Attribute Unit. Co-authored-by: Hugues de Valon <hugues.devalon@arm.com>
- Loading branch information