- add missing svn props and fix incorrect line endings from last commit
[openocd.git] / testing / examples / ledtest-imx31pdk / crt0.S
index 6c15be2130bd396e1e9beddc264bef1ec5539c1d..d7498814c43c0e58b42687f478f6f852a580e474 100644 (file)
@@ -1,47 +1,47 @@
-/* Sample initialization file */\r
-       \r
-       .extern main\r
-       .extern exit\r
-       \r
-/* .text is used instead of .section .text so it works with arm-aout too.  */\r
-       .text\r
-       .code 32\r
-       .align  0\r
-\r
-       .global _mainCRTStartup\r
-       .global _start\r
-       .global start\r
-start:\r
-_start:\r
-_mainCRTStartup:\r
-\r
-/* Start by setting up a stack */\r
-       /*  Set up the stack pointer to end of bss */\r
-       ldr     r3, .LC2\r
-       mov     sp, r3\r
-\r
-       sub     sl, sp, #512    /* Still assumes 512 bytes below sl */\r
-\r
-       mov     a2, #0          /* Second arg: fill value */\r
-       mov     fp, a2          /* Null frame pointer */\r
-       mov     r7, a2          /* Null frame pointer for Thumb */\r
-       \r
-       ldr     a1, .LC1        /* First arg: start of memory block */\r
-       ldr     a3, .LC2        /* Second arg: end of memory block */\r
-       sub     a3, a3, a1      /* Third arg: length of block */\r
-       \r
-       mov     r0, #0          /*  no arguments  */\r
-       mov     r1, #0          /*  no argv either */\r
-\r
-       bl      main\r
-       bl      exit            /* Should not return */\r
-\r
-       /* For Thumb, constants must be after the code since only \r
-       positive offsets are supported for PC relative addresses. */\r
-       \r
-       .align 0\r
-.LC1:\r
-       .word   __bss_start__\r
-.LC2:\r
-       .word   __bss_end__\r
-\r
+/* Sample initialization file */
+       
+       .extern main
+       .extern exit
+       
+/* .text is used instead of .section .text so it works with arm-aout too.  */
+       .text
+       .code 32
+       .align  0
+
+       .global _mainCRTStartup
+       .global _start
+       .global start
+start:
+_start:
+_mainCRTStartup:
+
+/* Start by setting up a stack */
+       /*  Set up the stack pointer to end of bss */
+       ldr     r3, .LC2
+       mov     sp, r3
+
+       sub     sl, sp, #512    /* Still assumes 512 bytes below sl */
+
+       mov     a2, #0          /* Second arg: fill value */
+       mov     fp, a2          /* Null frame pointer */
+       mov     r7, a2          /* Null frame pointer for Thumb */
+       
+       ldr     a1, .LC1        /* First arg: start of memory block */
+       ldr     a3, .LC2        /* Second arg: end of memory block */
+       sub     a3, a3, a1      /* Third arg: length of block */
+       
+       mov     r0, #0          /*  no arguments  */
+       mov     r1, #0          /*  no argv either */
+
+       bl      main
+       bl      exit            /* Should not return */
+
+       /* For Thumb, constants must be after the code since only 
+       positive offsets are supported for PC relative addresses. */
+       
+       .align 0
+.LC1:
+       .word   __bss_start__
+.LC2:
+       .word   __bss_end__
+

Linking to existing account procedure

If you already have an account and want to add another login method you MUST first sign in with your existing account and then change URL to read https://review.openocd.org/login/?link to get to this page again but this time it'll work for linking. Thank you.

SSH host keys fingerprints

1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=..              |
|+o..   .         |
|*.o   . .        |
|+B . . .         |
|Bo. = o S        |
|Oo.+ + =         |
|oB=.* = . o      |
| =+=.+   + E     |
|. .=o   . o      |
+----[SHA256]-----+
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)