This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Fix ARM recvfrom and sendto cancellation
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: libc-ports at sourceware dot org
- Date: Fri, 27 Oct 2006 00:44:33 +0000 (UTC)
- Subject: Fix ARM recvfrom and sendto cancellation
The unwind information for 6-argument ARM EABI syscalls is incorrect,
leading to failures of tst-cancelx4 and tst-cancelx5 relating to recvfrom
and sendto. This patch fixes those test failures.
2006-10-26 Joseph S. Myers <joseph@codesourcery.com>
* sysdeps/unix/sysv/linux/arm/eabi/nptl/sysdep-cancel.h
(DOCARGS_6): Change ".pad #20" to ".pad #16".
Index: sysdeps/unix/sysv/linux/arm/eabi/nptl/sysdep-cancel.h
===================================================================
RCS file: /cvs/glibc/ports/sysdeps/unix/sysv/linux/arm/eabi/nptl/sysdep-cancel.h,v
retrieving revision 1.2
diff -u -r1.2 sysdep-cancel.h
--- sysdeps/unix/sysv/linux/arm/eabi/nptl/sysdep-cancel.h 21 Mar 2006 20:54:56 -0000 1.2
+++ sysdeps/unix/sysv/linux/arm/eabi/nptl/sysdep-cancel.h 26 Oct 2006 19:53:18 -0000
@@ -94,7 +94,7 @@
# define UNDOCARGS_5 ldmfd sp!, {r0, r1, r2, r3}; .fnend; .fnstart; .save {r4}; .save {r7, lr}; .pad #4
# define RESTORE_LR_5 ldmfd sp!, {r4, r7, lr}
-# define DOCARGS_6 .save {r4, r5}; stmfd sp!, {r0, r1, r2, r3, r7, lr}; .save {r7, lr}; .pad #20
+# define DOCARGS_6 .save {r4, r5}; stmfd sp!, {r0, r1, r2, r3, r7, lr}; .save {r7, lr}; .pad #16
# define UNDOCARGS_6 ldmfd sp!, {r0, r1, r2, r3}; .fnend; .fnstart; .save {r4, r5}; .save {r7, lr}
# define RESTORE_LR_6 RESTORE_LR_0
--
Joseph S. Myers
joseph@codesourcery.com