Index: uspace/lib/c/arch/arm32/src/syscall.c
===================================================================
--- uspace/lib/c/arch/arm32/src/syscall.c	(revision e5ace7d7f74577005330f8f3d7f25d5a799a0f6b)
+++ uspace/lib/c/arch/arm32/src/syscall.c	(revision 182487c6289bc890713fc7ccbab8a4ae126b05b7)
@@ -70,4 +70,10 @@
 	      "r" (__arm_reg_r5),
 	      "r" (__arm_reg_r6)
+	    :
+	      /*
+	       * Clobber memory too as some arguments might be
+	       * actually pointers.
+	       */
+	      "memory"
 	);
 
Index: uspace/lib/c/arch/ppc32/src/syscall.c
===================================================================
--- uspace/lib/c/arch/ppc32/src/syscall.c	(revision e5ace7d7f74577005330f8f3d7f25d5a799a0f6b)
+++ uspace/lib/c/arch/ppc32/src/syscall.c	(revision 182487c6289bc890713fc7ccbab8a4ae126b05b7)
@@ -58,4 +58,10 @@
 	      "r" (__ppc32_reg_r8),
 	      "r" (__ppc32_reg_r9)
+	    :
+	      /*
+	       * Clobber memory too as some arguments might be
+	       * actually pointers.
+	       */
+	      "memory"
 	);
 
