[rtems commit] bsps/arm: Mark functions in start.S

Sebastian Huber sebh at rtems.org
Thu Sep 22 05:55:16 UTC 2022


Module:    rtems
Branch:    master
Commit:    f6e7c627059e22da2f5ffb7853ef73b1200a1fa9
Changeset: http://git.rtems.org/rtems/commit/?id=f6e7c627059e22da2f5ffb7853ef73b1200a1fa9

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Thu Sep 22 07:56:54 2022 +0200

bsps/arm: Mark functions in start.S

Add the function type to _start() and bsp_start_hook_0_done() so that
the linker can generate ARM/Thumb interworking code.

Update #4202.

---

 bsps/arm/shared/start/start.S | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/bsps/arm/shared/start/start.S b/bsps/arm/shared/start/start.S
index d2d56bb031..ae4d48bab7 100644
--- a/bsps/arm/shared/start/start.S
+++ b/bsps/arm/shared/start/start.S
@@ -29,7 +29,9 @@
 
 	/* Global symbols */
 	.globl	_start
+	.type	_start, %function
 	.globl	bsp_start_hook_0_done
+	.type	bsp_start_hook_0_done, %function
 	.globl	bsp_start_vector_table_begin
 	.globl	bsp_start_vector_table_end
 	.globl	bsp_start_vector_table_size



More information about the vc mailing list