diff options
-rw-r--r-- | sim/rx/ChangeLog | 6 | ||||
-rw-r--r-- | sim/rx/fpu.c | 2 | ||||
-rw-r--r-- | sim/rx/gdb-if.c | 2 | ||||
-rw-r--r-- | sim/rx/mem.c | 2 |
4 files changed, 9 insertions, 3 deletions
diff --git a/sim/rx/ChangeLog b/sim/rx/ChangeLog index 58b07ea..732c902 100644 --- a/sim/rx/ChangeLog +++ b/sim/rx/ChangeLog @@ -1,5 +1,11 @@ 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com> + * fpu.c (check_exceptions): Make static. + * gdb-if.c (handle_step): Likewise. + * mem.c (mem_put_byte): Likewise. + +2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com> + * cpu.h (trace_register_changes): Add void parameter type. * err.c (ee_overrides): Likewise. * mem.c (mem_usage_stats): Likewise. diff --git a/sim/rx/fpu.c b/sim/rx/fpu.c index 00c3ab7..f9e9007 100644 --- a/sim/rx/fpu.c +++ b/sim/rx/fpu.c @@ -354,7 +354,7 @@ static const char *ex_names[] = { /* This checks for all exceptional cases (not all FP exceptions) and returns TRUE if it is providing the result in *c. If it returns FALSE, the caller should do the "normal" operation. */ -int +static int check_exceptions (FP_Parts *a, FP_Parts *b, fp_t *c, FP_ExceptionCases ex_tab[5][5], FP_ExceptionCases *case_ret) diff --git a/sim/rx/gdb-if.c b/sim/rx/gdb-if.c index 55eb13d..3d052e6 100644 --- a/sim/rx/gdb-if.c +++ b/sim/rx/gdb-if.c @@ -688,7 +688,7 @@ rx_signal_to_gdb_signal (int rx) /* Take a step return code RC and set up the variables consulted by sim_stop_reason appropriately. */ -void +static void handle_step (int rc) { if (execution_error_get_last_error () != SIM_ERR_NONE) diff --git a/sim/rx/mem.c b/sim/rx/mem.c index 7fbf08e..fe8e08d 100644 --- a/sim/rx/mem.c +++ b/sim/rx/mem.c @@ -262,7 +262,7 @@ mtypec (int address) #define E() if (trace) e() -void +static void mem_put_byte (unsigned int address, unsigned char value) { unsigned char *m; |