diff options
| author | Carmelo Amoroso <carmelo.amoroso@st.com> | 2008-11-27 14:38:34 +0000 |
|---|---|---|
| committer | Carmelo Amoroso <carmelo.amoroso@st.com> | 2008-11-27 14:38:34 +0000 |
| commit | c836f1ad544d4b57dd1b93c480b7e625f24fb147 (patch) | |
| tree | 97669f5a5ddf6d10280b4d58dc759459c9613a54 /libc/sysdeps/linux/sh/vfork.S | |
| parent | 0dbf6abb93407b6aa83f8a3b397cafbd3095cfdc (diff) | |
| download | uClibc-alpine-c836f1ad544d4b57dd1b93c480b7e625f24fb147.tar.bz2 uClibc-alpine-c836f1ad544d4b57dd1b93c480b7e625f24fb147.tar.xz | |
Synch with trunk @ 24160
Step 14: miscellaneous merge for arch specific
files in libc/sysdeps. Comments, cleanup, formatting,
hidden_proto removal and others.
Diffstat (limited to 'libc/sysdeps/linux/sh/vfork.S')
| -rw-r--r-- | libc/sysdeps/linux/sh/vfork.S | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libc/sysdeps/linux/sh/vfork.S b/libc/sysdeps/linux/sh/vfork.S index a9b440d8f..060a36b33 100644 --- a/libc/sysdeps/linux/sh/vfork.S +++ b/libc/sysdeps/linux/sh/vfork.S @@ -42,7 +42,7 @@ __vfork: trapa #__SH_SYSCALL_TRAP_BASE mov r0, r1 #ifdef __CONFIG_SH2__ -// 12 arithmetic shifts for the crappy sh2, because shad doesn't exist! +/* 12 arithmetic shifts for the crappy sh2, because shad doesn't exist! */ shar r1 shar r1 shar r1 @@ -55,13 +55,13 @@ __vfork: shar r1 shar r1 shar r1 -#else +#else mov #-12, r2 shad r2, r1 #endif - not r1, r1 // r1=0 means r0 = -1 to -4095 - tst r1, r1 // i.e. error in linux + not r1, r1 /* r1=0 means r0 = -1 to -4095 */ + tst r1, r1 /* i.e. error in linux */ bf 2f mov.w .L1, r1 cmp/eq r1, r0 @@ -73,7 +73,7 @@ __vfork: trapa #__SH_SYSCALL_TRAP_BASE mov r0, r1 #ifdef __CONFIG_SH2__ -// 12 arithmetic shifts for the crappy sh2, because shad doesn't exist! +/* 12 arithmetic shifts for the crappy sh2, because shad doesn't exist! */ shar r1 shar r1 shar r1 @@ -86,13 +86,13 @@ __vfork: shar r1 shar r1 shar r1 -#else +#else mov #-12, r2 shad r2, r1 #endif - not r1, r1 // r1=0 means r0 = -1 to -4095 - tst r1, r1 // i.e. error in linux + not r1, r1 /* r1=0 means r0 = -1 to -4095 */ + tst r1, r1 /* i.e. error in linux */ bt/s __syscall_error mov r0, r4 2: |
