about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--sysdeps/unix/sysv/linux/ia64/sysdep.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 0bfd4c63d7..d0e46b7148 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2003-03-23  Ulrich Drepper  <drepper@redhat.com>
 
+	* sysdeps/unix/sysv/linux/ia64/sysdep.h (ret_NOERRNO): Avoid
+	unwanted expansion by definining to ret.  Patch by Ian Wienand.
+
 	* sysdeps/unix/make-syscalls.sh: Recognize 'E' in first position of
 	the parameter description to denote no error checking.  Generate
 	appropriate pseudo asm code.
diff --git a/sysdeps/unix/sysv/linux/ia64/sysdep.h b/sysdeps/unix/sysv/linux/ia64/sysdep.h
index 3065782c8e..86dd371389 100644
--- a/sysdeps/unix/sysv/linux/ia64/sysdep.h
+++ b/sysdeps/unix/sysv/linux/ia64/sysdep.h
@@ -110,7 +110,7 @@
 	.endp	C_SYMBOL_NAME(name)
 
 #define ret			br.ret.sptk.few b0
-#define ret_NOERRNO		br.ret.sptk.few b0
+#define ret_NOERRNO		ret
 
 #else /* not __ASSEMBLER__ */