On 15/05/17 17:13, Thomas Preudhomme wrote:
Hi,
Saving, clearing and restoring of *callee-saved* registers when doing a
cmse_nonsecure_call is done in the __gnu_cmse_nonsecure_call libcall.
Yet, comments for cmse_nonsecure_call_clear_caller_saved claim that
it is this function that does these actions.
This commit fixes the comment to point to the __gnu_cmse_nonsecure_call
libcall instead.
ChangeLog entry is as follows:
*** gcc/ChangeLog ***
2017-05-12 Thomas Preud'homme <thomas.preudho...@arm.com>
* config/arm/arm.c (cmse_nonsecure_call_clear_caller_saved): Refer
readers to __gnu_cmse_nonsecure_call libcall for saving, clearing and
restoring of callee-saved registers.
Given that this is just a comment fix, is this ok for trunk and
gcc-7-branch after a one day delay?
Ok.
Thanks,
Kyrill
Best regards,
Thomas