about summary refs log tree commit diff
path: root/sysdeps/i386
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/i386')
-rw-r--r--sysdeps/i386/bits/byteswap.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/i386/bits/byteswap.h b/sysdeps/i386/bits/byteswap.h
index bf55c890ba..1eef351a0c 100644
--- a/sysdeps/i386/bits/byteswap.h
+++ b/sysdeps/i386/bits/byteswap.h
@@ -1,5 +1,5 @@
 /* Macros to swap the order of bytes in integer values.
-   Copyright (C) 1997 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1998 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -32,7 +32,7 @@
 	  __v = __bswap_constant_16 (x);				      \
 	else								      \
 	  __asm__ __volatile__ ("rorw $8, %w0"				      \
-				: "=q" (__v)				      \
+				: "=r" (__v)				      \
 				: "0" ((unsigned short int) (x))	      \
 				: "cc");				      \
 	__v; })
@@ -59,7 +59,7 @@
 	  __asm__ __volatile__ ("rorw $8, %w0;"				      \
 				"rorl $16, %0;"				      \
 				"rorw $8, %w0"				      \
-				: "=q" (__v)				      \
+				: "=r" (__v)				      \
 				: "0" ((unsigned int) (x))		      \
 				: "cc");				      \
 	__v; })