https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115360
--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-14 branch has been updated by Andre Simoes Dias Vieira <avie...@gcc.gnu.org>: https://gcc.gnu.org/g:7593dae69ba06ffe63bc22d26c16b19aa9ab24e8 commit r14-10308-g7593dae69ba06ffe63bc22d26c16b19aa9ab24e8 Author: Andre Vieira <andre.simoesdiasvie...@arm.com> Date: Thu Jun 6 16:02:50 2024 +0100 arm: Add .type and .size to __gnu_cmse_nonsecure_call [PR115360] This patch adds missing assembly directives to the CMSE library wrapper to call functions with attribute cmse_nonsecure_call. Without the .type directive the linker will fail to produce the correct veneer if a call to this wrapper function is to far from the wrapper itself. The .size was added for completeness, though we don't necessarily have a usecase for it. libgcc/ChangeLog: PR target/115360 * config/arm/cmse_nonsecure_call.S: Add .type and .size directives. (cherry picked from commit c559353af49fe5743d226ac3112a285b27a50f6a)