ret redefines ret_NOERRNO in ia64

Ian Wienand ianw@gelato.unsw.edu.au
Mon Mar 24 00:44:00 GMT 2003


Hello,

Since IA64 uses 'ret' in to indicate branch return, ret_NOERRNO gets
mangled.

-i
ianw@gelato.unsw.edu.au
http://www.gelato.unsw.edu.au

Index: sysdeps/unix/sysv/linux/ia64/sysdep.h
===================================================================
RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/ia64/sysdep.h,v
retrieving revision 1.13
diff -u -r1.13 sysdep.h
--- sysdeps/unix/sysv/linux/ia64/sysdep.h       23 Mar 2003 19:42:23 -0000      1.13
+++ sysdeps/unix/sysv/linux/ia64/sysdep.h       24 Mar 2003 00:35:15 -0000
@@ -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__ */



More information about the Libc-alpha mailing list