From 2ba017a2d5af01cc3ef0dc554252a521e8d7c4f8 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Fri, 3 Oct 2008 13:59:52 +0000 Subject: - use c89-style comments Closes issue #5194 --- libc/sysdeps/linux/microblaze/__longjmp.S | 16 ++++++++-------- libc/sysdeps/linux/microblaze/crt0.S | 18 +++++++++--------- libc/sysdeps/linux/microblaze/vfork.S | 12 ++++++------ 3 files changed, 23 insertions(+), 23 deletions(-) (limited to 'libc/sysdeps/linux/microblaze') diff --git a/libc/sysdeps/linux/microblaze/__longjmp.S b/libc/sysdeps/linux/microblaze/__longjmp.S index fba1e9fbf..2752f0bd3 100644 --- a/libc/sysdeps/linux/microblaze/__longjmp.S +++ b/libc/sysdeps/linux/microblaze/__longjmp.S @@ -8,7 +8,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 */ @@ -20,25 +20,25 @@ .text C_ENTRY(__longjmp): - /* load registers from memory to r5 (arg0)*/ + /* load registers from memory to r5 (arg0) */ lwi r1, r5, 0 lwi r15, r5, 4 lwi r18, r5, 8 lwi r19, r5, 12 lwi r20, r5, 16 - lwi r21, r5, 20 - lwi r22, r5, 24 + lwi r21, r5, 20 + lwi r22, r5, 24 lwi r23, r5, 28 - lwi r24, r5, 32 + lwi r24, r5, 32 lwi r25, r5, 36 lwi r26, r5, 40 lwi r27, r5, 44 lwi r28, r5, 48 lwi r29, r5, 52 lwi r30, r5, 56 - - addi r3, r0, 1 // return val - rtsd r15, 8 // normal return + + addi r3, r0, 1 /* return val */ + rtsd r15, 8 /* normal return */ nop C_END(__longjmp) diff --git a/libc/sysdeps/linux/microblaze/crt0.S b/libc/sysdeps/linux/microblaze/crt0.S index 99687b707..591c3a2f8 100644 --- a/libc/sysdeps/linux/microblaze/crt0.S +++ b/libc/sysdeps/linux/microblaze/crt0.S @@ -20,22 +20,22 @@ .text C_ENTRY(_start): - lw r5, r0, r1 // Arg 0: argc + lw r5, r0, r1 /* Arg 0: argc */ - addi r6, r1, 4 // Arg 1: argv + addi r6, r1, 4 /* Arg 1: argv */ - // Arg 2: envp - addi r3, r5, 1 // skip argc elements to get envp start - // ...plus the NULL at the end of argv - add r3, r3, r3 // Make word offset + /* Arg 2: envp */ + addi r3, r5, 1 /* skip argc elements to get envp start */ + /* ...plus the NULL at the end of argv */ + add r3, r3, r3 /* Make word offset */ add r3, r3, r3 - add r7, r6, r3 // add to argv to get offset + add r7, r6, r3 /* add to argv to get offset */ - // Load SDAs + /* Load SDAs */ la r2, r0, C_SYMBOL_NAME(_SDA_BASE_) la r13, r0, C_SYMBOL_NAME(_SDA2_BASE_) - // tail-call uclibc's startup routine + /* tail-call uclibc's startup routine */ brid C_SYMBOL_NAME(__uClibc_main) nop diff --git a/libc/sysdeps/linux/microblaze/vfork.S b/libc/sysdeps/linux/microblaze/vfork.S index 1e802ae29..42458308a 100644 --- a/libc/sysdeps/linux/microblaze/vfork.S +++ b/libc/sysdeps/linux/microblaze/vfork.S @@ -8,7 +8,7 @@ * * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. */ -/* +/* * Written by Miles Bader * Microblaze port by John Williams */ @@ -31,13 +31,13 @@ C_ENTRY (__vfork): addi r12, r0, SYS_vfork bralid r17, 0x08; nop - addi r4, r3, 125 // minimum err value - blti r4, 1f // is r3 < -125? - rtsd r15, 8 // normal return + addi r4, r3, 125 /* minimum err value */ + blti r4, 1f /* is r3 < -125? */ + rtsd r15, 8 /* normal return */ nop -1: sub r3, r3, r0 // r3 = -r3 +1: sub r3, r3, r0 /* r3 = -r3 */ swi r3, r0, C_SYMBOL_NAME(errno); - rtsd r15, 8 // error return + rtsd r15, 8 /* error return */ nop C_END(__vfork) weak_alias(__vfork,vfork) -- cgit v1.2.3