You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 <[email protected]>
0 commit comments