[rtems commit] score603e/start/start.S: Add start symbol to eliminate warning

Joel Sherrill joel at rtems.org
Thu Sep 4 13:59:25 UTC 2014


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

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Tue Sep  2 12:30:01 2014 -0500

score603e/start/start.S: Add start symbol to eliminate warning

---

 c/src/lib/libbsp/powerpc/score603e/start/start.S |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/c/src/lib/libbsp/powerpc/score603e/start/start.S b/c/src/lib/libbsp/powerpc/score603e/start/start.S
index c67e598..d58d42c 100644
--- a/c/src/lib/libbsp/powerpc/score603e/start/start.S
+++ b/c/src/lib/libbsp/powerpc/score603e/start/start.S
@@ -51,8 +51,11 @@ FUNC_NAME(__atexit):			/* tell C's eabi-ctor's we have an atexit function */
 .Lptr:
 	.long .LCTOC1-.Laddr
 
+	.globl	start
 	.globl	_start
+	.type	start, at function
 	.type	_start, at function
+start:
 _start:
 	b	past_constants
 					/* Set MSR */



More information about the vc mailing list