ubsan: alpha-coff: signed integer overflow
[deliverable/binutils-gdb.git] / sim / common / sim-close.c
index a1458d443e0211903f68422eb534c28828542bd0..355b7352f0bdd3e81286ee82deabcb596dc8e8fe 100644 (file)
@@ -1,6 +1,6 @@
 /* Miscellaneous simulator utilities.
 
-   Copyright (C) 2005-2015 Free Software Foundation, Inc.
+   Copyright (C) 2005-2020 Free Software Foundation, Inc.
    Contributed by Analog Devices, Inc. and Stephane Carrez.
 
    This file is part of simulators.
@@ -36,9 +36,7 @@ sim_close (SIM_DESC sd, int quitting)
 
   /* If cgen is active, close it down.  */
 #ifdef CGEN_ARCH
-# define __cgen_cpu_close(arch) arch##_cgen_cpu_close
-# define _cgen_cpu_close(arch) __cgen_cpu_close (arch)
-# define cgen_cpu_close _cgen_cpu_close (CGEN_ARCH)
+# define cgen_cpu_close XCONCAT2 (CGEN_ARCH,_cgen_cpu_close)
   cgen_cpu_close (CPU_CPU_DESC (STATE_CPU (sd, 0)));
 #endif
 
This page took 0.022753 seconds and 4 git commands to generate.