Comment only change.
authorflorian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9>
Fri, 3 Aug 2012 03:21:42 +0000 (03:21 +0000)
committerflorian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9>
Fri, 3 Aug 2012 03:21:42 +0000 (03:21 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12818 a5019735-40e9-0310-863c-91ae7b9d1cf9

include/valgrind.h

index 5b01564525756b81e1c7f1c27c96a24783cbfca5..8f1db7acc216d00ee283d85c5ccd0ecf0d0fcc10 100644 (file)
@@ -3346,8 +3346,10 @@ typedef
 #  define VALGRIND_CFI_EPILOGUE
 #endif
 
-
-
+/* Nb: On s390 the stack pointer is properly aligned *at all times*
+   according to the s390 GCC maintainer. (The ABI specification is not
+   precise in this regard.) Therefore, VALGRIND_ALIGN_STACK and
+   VALGRIND_RESTORE_STACK are not defined here. */
 
 /* These regs are trashed by the hidden call. Note that we overwrite
    r14 in s390_irgen_noredir (VEX/priv/guest_s390_irgen.c) to give the
@@ -3356,6 +3358,14 @@ typedef
 #define __CALLER_SAVED_REGS "0","1","2","3","4","5","14", \
                            "f0","f1","f2","f3","f4","f5","f6","f7"
 
+/* Nb: Although r11 is modified in the asm snippets below (inside 
+   VALGRIND_CFI_PROLOGUE) it is not listed in the clobber section, for
+   two reasons:
+   (1) r11 is restored in VALGRIND_CFI_EPILOGUE, so effectively it is not
+       modified
+   (2) GCC will complain that r11 cannot appear inside a clobber section,
+       when compiled with -O -fno-omit-frame-pointer
+ */
 
 #define CALL_FN_W_v(lval, orig)                                  \
    do {                                                          \