ubsan: score: left shift of negative value
[deliverable/binutils-gdb.git] / include / opcode / cgen.h
index b7e82d4dd93a8dd5c4920df384ba9a7e98a4b8b5..95bbdf43e35f5e13226aa229dd3a4f58b78b69f1 100644 (file)
@@ -1,7 +1,6 @@
 /* Header file for targets using CGEN: Cpu tools GENerator.
 
-   Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2009, 2010
-   Free Software Foundation, Inc.
+   Copyright (C) 1996-2020 Free Software Foundation, Inc.
 
    This file is part of GDB, the GNU debugger, and the GNU Binutils.
 
 /* ??? IWBN to replace bfd in the name.  */
 #include "bfd_stdint.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /* ??? This file requires bfd.h but only to get bfd_vma.
    Seems like an awful lot to require just to get such a fundamental type.
    Perhaps the definition of bfd_vma can be moved outside of bfd.h.
@@ -1477,4 +1480,8 @@ extern void cgen_clear_signed_overflow_ok (CGEN_CPU_DESC);
 /* Will an error message be generated if a signed field in an instruction overflows ? */
 extern unsigned int cgen_signed_overflow_ok_p (CGEN_CPU_DESC);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* OPCODE_CGEN_H */
This page took 0.022908 seconds and 4 git commands to generate.