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/mips32 | |
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/mips32')
-rw-r--r-- | ports/sysdeps/unix/sysv/linux/mips/mips32/sysdep.h | 84 |
1 files changed, 42 insertions, 42 deletions
diff --git a/ports/sysdeps/unix/sysv/linux/mips/mips32/sysdep.h b/ports/sysdeps/unix/sysv/linux/mips/mips32/sysdep.h index 51ae813cb2..c8bfe5dc8e 100644 --- a/ports/sysdeps/unix/sysv/linux/mips/mips32/sysdep.h +++ b/ports/sysdeps/unix/sysv/linux/mips/mips32/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 \ @@ -246,13 +246,13 @@ \ FORCE_FRAME_POINTER; \ { \ - 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" \ "subu\t$29, 32\n\t" \ @@ -278,13 +278,13 @@ \ FORCE_FRAME_POINTER; \ { \ - 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" \ "subu\t$29, 32\n\t" \ @@ -311,13 +311,13 @@ \ FORCE_FRAME_POINTER; \ { \ - 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" \ "subu\t$29, 32\n\t" \ |