]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Clean up a few leftovers from the AIX port which no longer exists.
authorFlorian Krohm <florian@eich-krohm.de>
Thu, 8 Jan 2015 20:45:42 +0000 (20:45 +0000)
committerFlorian Krohm <florian@eich-krohm.de>
Thu, 8 Jan 2015 20:45:42 +0000 (20:45 +0000)
git-svn-id: svn://svn.valgrind.org/vex/trunk@3062

VEX/priv/guest_ppc_helpers.c
VEX/priv/guest_ppc_toIR.c
VEX/pub/libvex_guest_ppc32.h
VEX/pub/libvex_guest_ppc64.h

index 682aadc589265555a0934c9862b7d178effad367..18a1ac3fa76508cff472b4f4726268ed87392022 100644 (file)
@@ -68,7 +68,7 @@
 /* Reads a complete, consistent 64-bit TB value. */
 ULong ppcg_dirtyhelper_MFTB ( void )
 {
-#  if defined(__powerpc__) || defined(_AIX)
+#  if defined(__powerpc__)
    ULong res;
    UInt  lo, hi1, hi2;
    while (1) {
@@ -93,7 +93,7 @@ ULong ppcg_dirtyhelper_MFTB ( void )
 /* DIRTY HELPER (non-referentially transparent) */
 UInt ppc32g_dirtyhelper_MFSPR_268_269 ( UInt r269 )
 {
-#  if defined(__powerpc__) || defined(_AIX)
+#  if defined(__powerpc__)
    UInt spr;
    if (r269) {
       __asm__ __volatile__("mfspr %0,269" : "=b"(spr));
@@ -111,7 +111,7 @@ UInt ppc32g_dirtyhelper_MFSPR_268_269 ( UInt r269 )
 /* DIRTY HELPER (I'm not really sure what the side effects are) */
 UInt ppc32g_dirtyhelper_MFSPR_287 ( void )
 {
-#  if defined(__powerpc__) || defined(_AIX)
+#  if defined(__powerpc__)
    UInt spr;
    __asm__ __volatile__("mfspr %0,287" : "=b"(spr));
    return spr;
index de644083df4765877af412404f943ef71803557b..9f5e30fe13b7a4cbcf60d9c771c89c362dcb0913 100644 (file)
@@ -223,8 +223,7 @@ static Bool mode64 = False;
 // Given a pointer to a function as obtained by "& functionname" in C,
 // produce a pointer to the actual entry point for the function.  For
 // most platforms it's the identity function.  Unfortunately, on
-// ppc64-linux it isn't (sigh) and ditto for ppc32-aix5 and
-// ppc64-aix5.
+// ppc64-linux it isn't (sigh)
 static void* fnptr_to_fnentry( const VexAbiInfo* vbi, void* f )
 {
    if (vbi->host_ppc_calls_use_fndescrs) {
@@ -6202,7 +6201,7 @@ static Bool dis_syslink ( UInt theInstr,
    // sc  (System Call, PPC32 p504)
    DIP("sc\n");
 
-   /* Copy CIA into the IP_AT_SYSCALL pseudo-register, so that on AIX
+   /* Copy CIA into the IP_AT_SYSCALL pseudo-register, so that on Darwin
       Valgrind can back the guest up to this instruction if it needs
       to restart the syscall. */
    putGST( PPC_GST_IP_AT_SYSCALL, getGST( PPC_GST_CIA ) );
index 5acfcd730788dea19d55393a63841190b2b90dfb..35dd318dac0ea1419acfe3acee7287b1c1cf3bb6 100644 (file)
@@ -229,7 +229,7 @@ typedef
       /* 1216 */ UInt guest_REDIR_SP;
       /* 1220 */ UInt guest_REDIR_STACK[VEX_GUEST_PPC32_REDIR_STACK_SIZE];
 
-      /* Needed for AIX (but mandated for all guest architectures):
+      /* Needed for Darwin (but mandated for all guest architectures):
          CIA at the last SC insn.  Used when backing up to restart a
          syscall that has been interrupted by a signal. */
       /* 1348 */ UInt guest_IP_AT_SYSCALL;
index 3903ce745bbd46248850fd945da0f529bf8ab345..9a4caedee2ccf47dc47bde63196d8ce175ca97b5 100644 (file)
@@ -271,7 +271,7 @@ typedef
       /* 1376 */ ULong guest_REDIR_SP;
       /* 1384 */ ULong guest_REDIR_STACK[VEX_GUEST_PPC64_REDIR_STACK_SIZE];
 
-      /* Needed for AIX: CIA at the last SC insn.  Used when backing up
+      /* Needed for Darwin: CIA at the last SC insn.  Used when backing up
          to restart a syscall that has been interrupted by a signal. */
       /* 1640 */ ULong guest_IP_AT_SYSCALL;