diff options
author | Maciej W. Rozycki <macro@codesourcery.com> | 2013-02-05 15:31:08 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@codesourcery.com> | 2013-02-05 15:31:08 +0000 |
commit | f9834ea4774532f13c49a527c64eda1c0587f910 (patch) | |
tree | a5cbcdb8fe201c5b192072f7eb5d7840f09c497f /ports/sysdeps/unix/sysv/linux/mips/mips64/n64 | |
parent | b82ba2f011fc4628ceece07412846d0b4d50cac2 (diff) | |
download | glibc-f9834ea4774532f13c49a527c64eda1c0587f910.tar.gz glibc-f9834ea4774532f13c49a527c64eda1c0587f910.tar.xz glibc-f9834ea4774532f13c49a527c64eda1c0587f910.zip |
MIPS: Correct formatting of syscall wrapper `asm' specifiers.
Diffstat (limited to 'ports/sysdeps/unix/sysv/linux/mips/mips64/n64')
-rw-r--r-- | ports/sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h | 78 |
1 files changed, 39 insertions, 39 deletions
diff --git a/ports/sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h b/ports/sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h index fecd3e433a..d16ed6941c 100644 --- a/ports/sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h +++ b/ports/sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h @@ -111,10 +111,10 @@ long _sys_result; \ \ { \ - register long __s0 asm("$16") __attribute__ ((unused)) \ + register long __s0 asm ("$16") __attribute__ ((unused)) \ = (number); \ - register long __v0 asm("$2"); \ - register long __a3 asm("$7"); \ + register long __v0 asm ("$2"); \ + register long __a3 asm ("$7"); \ __asm__ volatile ( \ ".set\tnoreorder\n\t" \ v0_init \ @@ -134,11 +134,11 @@ long _sys_result; \ \ { \ - register long __s0 asm("$16") __attribute__ ((unused)) \ + register long __s0 asm ("$16") __attribute__ ((unused)) \ = (number); \ - register long __v0 asm("$2"); \ - register long __a0 asm("$4") = (long) (arg1); \ - register long __a3 asm("$7"); \ + register long __v0 asm ("$2"); \ + register long __a0 asm ("$4") = (long) (arg1); \ + register long __a3 asm ("$7"); \ __asm__ volatile ( \ ".set\tnoreorder\n\t" \ v0_init \ @@ -158,12 +158,12 @@ long _sys_result; \ \ { \ - register long __s0 asm("$16") __attribute__ ((unused)) \ + register long __s0 asm ("$16") __attribute__ ((unused)) \ = (number); \ - register long __v0 asm("$2"); \ - register long __a0 asm("$4") = (long) (arg1); \ - register long __a1 asm("$5") = (long) (arg2); \ - register long __a3 asm("$7"); \ + register long __v0 asm ("$2"); \ + register long __a0 asm ("$4") = (long) (arg1); \ + register long __a1 asm ("$5") = (long) (arg2); \ + register long __a3 asm ("$7"); \ __asm__ volatile ( \ ".set\tnoreorder\n\t" \ v0_init \ @@ -184,13 +184,13 @@ long _sys_result; \ \ { \ - register long __s0 asm("$16") __attribute__ ((unused)) \ + register long __s0 asm ("$16") __attribute__ ((unused)) \ = (number); \ - register long __v0 asm("$2"); \ - register long __a0 asm("$4") = (long) (arg1); \ - register long __a1 asm("$5") = (long) (arg2); \ - register long __a2 asm("$6") = (long) (arg3); \ - register long __a3 asm("$7"); \ + register long __v0 asm ("$2"); \ + register long __a0 asm ("$4") = (long) (arg1); \ + register long __a1 asm ("$5") = (long) (arg2); \ + register long __a2 asm ("$6") = (long) (arg3); \ + register long __a3 asm ("$7"); \ __asm__ volatile ( \ ".set\tnoreorder\n\t" \ v0_init \ @@ -211,13 +211,13 @@ long _sys_result; \ \ { \ - register long __s0 asm("$16") __attribute__ ((unused)) \ + register long __s0 asm ("$16") __attribute__ ((unused)) \ = (number); \ - register long __v0 asm("$2"); \ - register long __a0 asm("$4") = (long) (arg1); \ - register long __a1 asm("$5") = (long) (arg2); \ - register long __a2 asm("$6") = (long) (arg3); \ - register long __a3 asm("$7") = (long) (arg4); \ + register long __v0 asm ("$2"); \ + register long __a0 asm ("$4") = (long) (arg1); \ + register long __a1 asm ("$5") = (long) (arg2); \ + register long __a2 asm ("$6") = (long) (arg3); \ + register long __a3 asm ("$7") = (long) (arg4); \ __asm__ volatile ( \ ".set\tnoreorder\n\t" \ v0_init \ @@ -238,14 +238,14 @@ long _sys_result; \ \ { \ - register long __s0 asm("$16") __attribute__ ((unused)) \ + register long __s0 asm ("$16") __attribute__ ((unused)) \ = (number); \ - register long __v0 asm("$2"); \ - register long __a0 asm("$4") = (long) (arg1); \ - register long __a1 asm("$5") = (long) (arg2); \ - register long __a2 asm("$6") = (long) (arg3); \ - register long __a3 asm("$7") = (long) (arg4); \ - register long __a4 asm("$8") = (long) (arg5); \ + register long __v0 asm ("$2"); \ + register long __a0 asm ("$4") = (long) (arg1); \ + register long __a1 asm ("$5") = (long) (arg2); \ + register long __a2 asm ("$6") = (long) (arg3); \ + register long __a3 asm ("$7") = (long) (arg4); \ + register long __a4 asm ("$8") = (long) (arg5); \ __asm__ volatile ( \ ".set\tnoreorder\n\t" \ v0_init \ @@ -266,15 +266,15 @@ long _sys_result; \ \ { \ - register long __s0 asm("$16") __attribute__ ((unused)) \ + register long __s0 asm ("$16") __attribute__ ((unused)) \ = (number); \ - register long __v0 asm("$2"); \ - register long __a0 asm("$4") = (long) (arg1); \ - register long __a1 asm("$5") = (long) (arg2); \ - register long __a2 asm("$6") = (long) (arg3); \ - register long __a3 asm("$7") = (long) (arg4); \ - register long __a4 asm("$8") = (long) (arg5); \ - register long __a5 asm("$9") = (long) (arg6); \ + register long __v0 asm ("$2"); \ + register long __a0 asm ("$4") = (long) (arg1); \ + register long __a1 asm ("$5") = (long) (arg2); \ + register long __a2 asm ("$6") = (long) (arg3); \ + register long __a3 asm ("$7") = (long) (arg4); \ + register long __a4 asm ("$8") = (long) (arg5); \ + register long __a5 asm ("$9") = (long) (arg6); \ __asm__ volatile ( \ ".set\tnoreorder\n\t" \ v0_init \ |