PR29482 - strip: heap-buffer-overflow
[binutils-gdb.git] / sim / rl78 / cpu.h
index b368617d10c356f2ffb28f494f6940ed7f5c04e1..82ac2f66392b6a843717c57f9a04932d77107f89 100644 (file)
@@ -1,6 +1,6 @@
 /* cpu.h --- declarations for the RL78 core.
 
-   Copyright (C) 2005-2014 Free Software Foundation, Inc.
+   Copyright (C) 2005-2022 Free Software Foundation, Inc.
    Contributed by Red Hat, Inc.
 
    This file is part of the GNU simulators.
@@ -39,14 +39,14 @@ extern int rl78_in_gdb;
 SI get_reg (RL78_Register);
 SI set_reg (RL78_Register, SI);
 
-SI pc;
+extern SI pc;
 
 
 extern const char * const reg_names[];
 
 void init_cpu (void);
 void set_flags (int mask, int newbits);
-void set_c (int c);
+void set_c (int);
 int  get_c (void);
 
 const char *bits (int v, int b);
@@ -97,4 +97,8 @@ extern int timer_enabled;
 extern void dump_counts_per_insn (const char * filename);
 extern unsigned int counts_per_insn[0x100000];
 
+extern int rl78_g10_mode;
+extern int g13_multiply;
+extern int g14_multiply;
+
 #endif