projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
PR29482 - strip: heap-buffer-overflow
[binutils-gdb.git]
/
sim
/
frv
/
profile-fr400.c
diff --git
a/sim/frv/profile-fr400.c
b/sim/frv/profile-fr400.c
index 37291c639c281399fc3a29ab5f58d51750ef6678..9cb593fa7d4bc2236920acfd84c6d3c3a28295d7 100644
(file)
--- a/
sim/frv/profile-fr400.c
+++ b/
sim/frv/profile-fr400.c
@@
-1,6
+1,6
@@
/* frv simulator fr400 dependent profiling code.
/* frv simulator fr400 dependent profiling code.
- Copyright (C) 2001-20
13
Free Software Foundation, Inc.
+ Copyright (C) 2001-20
22
Free Software Foundation, Inc.
Contributed by Red Hat
This file is part of the GNU simulators.
Contributed by Red Hat
This file is part of the GNU simulators.
@@
-16,9
+16,11
@@
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
-along with this program. If not, see <http://www.gnu.org/licenses/>.
+along with this program. If not, see <http://www.gnu.org/licenses/>. */
+
+/* This must come before any other includes. */
+#include "defs.h"
-*/
#define WANT_CPU
#define WANT_CPU_FRVBF
#define WANT_CPU
#define WANT_CPU_FRVBF
@@
-174,6
+176,7
@@
set_acc_use_not_media_p4 (SIM_CPU *cpu, INT acc)
d->cur_acc_p4 &= ~(((DI)1) << acc);
}
d->cur_acc_p4 &= ~(((DI)1) << acc);
}
+#if 0
static int
acc_use_is_media_p4 (SIM_CPU *cpu, INT acc)
{
static int
acc_use_is_media_p4 (SIM_CPU *cpu, INT acc)
{
@@
-182,6
+185,7
@@
acc_use_is_media_p4 (SIM_CPU *cpu, INT acc)
return d->cur_acc_p4 & (((DI)1) << acc);
return 0;
}
return d->cur_acc_p4 & (((DI)1) << acc);
return 0;
}
+#endif
static void
set_use_is_media_p6 (SIM_CPU *cpu, INT fr)
static void
set_use_is_media_p6 (SIM_CPU *cpu, INT fr)