Skip to content
master
Go to file
Code

Latest commit

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>
96525a6

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
bin
 
 
ci
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

crates.io crates.io

cortex-m-rt

Startup code and minimal runtime for Cortex-M microcontrollers

This project is developed and maintained by the Cortex-M team.

Documentation

Minimum Supported Rust Version (MSRV)

This crate is guaranteed to compile on stable Rust 1.39.0 and up. It might compile with older versions but that may change in any new patch release.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Code of Conduct

Contribution to this crate is organized under the terms of the Rust Code of Conduct, the maintainer of this crate, the Cortex-M team, promises to intervene to uphold that code of conduct.

You can’t perform that action at this time.