]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
[arm] Fix bug in _nocancel system call stubs.
authorUlrich Weigand <ulrich.weigand@linaro.org>
Mon, 21 Mar 2011 20:44:55 +0000 (20:44 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Mon, 21 Mar 2011 20:44:55 +0000 (20:44 +0000)
ChangeLog.arm
sysdeps/unix/sysv/linux/arm/eabi/nptl/sysdep-cancel.h

index 3f4ae8c5c0c3b089a958415e6434d7ffe8aa4554..dd5767d55cebff8ec2d33170f7e4a6aaf2c67f97 100644 (file)
@@ -1,3 +1,8 @@
+2011-03-21  Ulrich Weigand  <ulrich.weigand@linaro.org>
+
+       * sysdeps/unix/sysv/linux/arm/eabi/nptl/sysdep-cancel.h (PSEUDO): Add
+       missing "cmn r0, $4096" for _nocancel system call stubs.
+
 2011-03-21  Ulrich Weigand  <ulrich.weigand@linaro.org>
 
        * sysdeps/unix/sysv/arm/eabi/sysdep.h (DO_CALL): Do not save/restore
index f4a8af403a423c89f18129e9c2a0e3445ae405b9..3fadebde729934672db1d11e848be2d21cbc4dcf 100644 (file)
@@ -39,6 +39,7 @@
     .cfi_sections .debug_frame;                                                \
     cfi_startproc;                                                     \
     DO_CALL (syscall_name, args);                                      \
+    cmn r0, $4096;                                                     \
     PSEUDO_RET;                                                                \
     cfi_endproc;                                                       \
   .size __##syscall_name##_nocancel,.-__##syscall_name##_nocancel;     \