Power10 SIMD permute class operations
[deliverable/binutils-gdb.git] / opcodes / s12z-dis.c
index 5930ab4ef6698b42d2ffd2f5ccd90c8f9270d0e6..46d4d7c64cf99bf600ab1a84cee7758e17406524 100644 (file)
@@ -1,5 +1,5 @@
 /* s12z-dis.c -- Freescale S12Z disassembly
-   Copyright (C) 2018-2019 Free Software Foundation, Inc.
+   Copyright (C) 2018-2020 Free Software Foundation, Inc.
 
    This file is part of the GNU opcodes library.
 
@@ -59,16 +59,9 @@ abstract_read_memory (struct mem_read_abstraction_base *b,
 {
   struct mem_read_abstraction *mra = (struct mem_read_abstraction *) b;
 
-  int status =
-    (*mra->info->read_memory_func) (mra->memaddr + offset,
-                                   bytes, n, mra->info);
-
-  if (status != 0)
-    {
-      (*mra->info->memory_error_func) (status, mra->memaddr, mra->info);
-      return -1;
-    }
-  return 0;
+  int status = (*mra->info->read_memory_func) (mra->memaddr + offset,
+                                              bytes, n, mra->info);
+  return status != 0 ? -1 : 0;
 }
 
 /* Start of disassembly file.  */
@@ -390,7 +383,6 @@ print_insn_s12z (bfd_vma memaddr, struct disassemble_info* info)
              else
                (*mra.info->fprintf_func) (mra.info->stream, "%c",
                                           shift_size_table[osize]);
-               
            }
        }
     }
This page took 0.023972 seconds and 4 git commands to generate.