arm64: don't create a section for z_arm64_exit_exc_fpu_done
Both z_arm64_exit_exc and z_arm64_exit_exc_fpu_done must be within the same section as execution falls through here. If z_arm64_exit_exc_fpu_done creates a section of its own then the linker is free to disjoint the code and we absolutely don't want that. Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
This commit is contained in:
parent
3a7e0f875c
commit
35c9ed6a4b
|
@ -217,7 +217,7 @@ SECTION_FUNC(TEXT, z_arm64_exit_exc)
|
|||
bl z_arm64_fpu_exit_exc
|
||||
|
||||
GTEXT(z_arm64_exit_exc_fpu_done)
|
||||
SECTION_FUNC(TEXT, z_arm64_exit_exc_fpu_done)
|
||||
z_arm64_exit_exc_fpu_done:
|
||||
#endif
|
||||
|
||||
ldp x0, x1, [sp, ___esf_t_spsr_elr_OFFSET]
|
||||
|
|
Loading…
Reference in New Issue