diff options
Diffstat (limited to 'libc/sysdeps/linux/v850')
-rw-r--r-- | libc/sysdeps/linux/v850/__longjmp.S | 4 | ||||
-rw-r--r-- | libc/sysdeps/linux/v850/crt0.S | 20 | ||||
-rw-r--r-- | libc/sysdeps/linux/v850/vfork.S | 8 |
3 files changed, 16 insertions, 16 deletions
diff --git a/libc/sysdeps/linux/v850/__longjmp.S b/libc/sysdeps/linux/v850/__longjmp.S index 2c470264f..fa29e0f78 100644 --- a/libc/sysdeps/linux/v850/__longjmp.S +++ b/libc/sysdeps/linux/v850/__longjmp.S @@ -7,7 +7,7 @@ * This file is subject to the terms and conditions of the GNU Lesser * General Public License. See the file COPYING.LIB in the main * directory of this archive for more details. - * + * * Written by Miles Bader <miles@gnu.org> */ @@ -35,7 +35,7 @@ C_ENTRY(__longjmp): sld.w 40[ep], r27 sld.w 44[ep], r28 sld.w 48[ep], r29 - mov 1, r10 // return val + mov 1, r10 /* return val */ jmp [lp] C_END(__longjmp) libc_hidden_def(__longjmp) diff --git a/libc/sysdeps/linux/v850/crt0.S b/libc/sysdeps/linux/v850/crt0.S index 11d7bb5aa..01e9f8309 100644 --- a/libc/sysdeps/linux/v850/crt0.S +++ b/libc/sysdeps/linux/v850/crt0.S @@ -19,25 +19,25 @@ .text C_ENTRY(start): - ld.w 0[sp], r6 // Arg 0: argc + ld.w 0[sp], r6 /* Arg 0: argc */ - addi 4, sp, r7 // Arg 1: argv + addi 4, sp, r7 /* Arg 1: argv */ - mov r7, r8 // Arg 2: envp - mov r6, r10 // skip argc elements to get envp start - add 1, r10 // ...plus the NULL at the end of argv - shl 2, r10 // Convert to byte-count to skip + mov r7, r8 /* Arg 2: envp */ + mov r6, r10 /* skip argc elements to get envp start */ + add 1, r10 /* ...plus the NULL at the end of argv */ + shl 2, r10 /* Convert to byte-count to skip */ add r10, r8 - // Load CTBP register + /* Load CTBP register */ mov hilo(C_SYMBOL_NAME(_ctbp)), r19 ldsr r19, ctbp - // Load GP + /* Load GP */ mov hilo(C_SYMBOL_NAME(_gp)), gp - // tail-call uclibc's startup routine - addi -24, sp, sp // Stack space reserved for args + /* tail-call uclibc's startup routine */ + addi -24, sp, sp /* Stack space reserved for args */ jr C_SYMBOL_NAME(__uClibc_main) diff --git a/libc/sysdeps/linux/v850/vfork.S b/libc/sysdeps/linux/v850/vfork.S index 82d127079..2533853b5 100644 --- a/libc/sysdeps/linux/v850/vfork.S +++ b/libc/sysdeps/linux/v850/vfork.S @@ -7,7 +7,7 @@ * This file is subject to the terms and conditions of the GNU Lesser * General Public License. See the file COPYING.LIB in the main * directory of this archive for more details. - * + * * Written by Miles Bader <miles@gnu.org> */ @@ -29,14 +29,14 @@ C_ENTRY (__vfork): addi SYS_vfork, r0, r12 trap 0 - addi -125, r0, r11 // minimum err value + addi -125, r0, r11 /* minimum err value */ cmp r11, r10 bh 1f - jmp [lp] // normal return + jmp [lp] /* normal return */ 1: mov hilo(C_SYMBOL_NAME(errno)), r11 subr r0, r10 st.w r10, 0[r11] - jmp [lp] // error return + jmp [lp] /* error return */ C_END(__vfork) weak_alias(__vfork,vfork) libc_hidden_weak(vfork) |