projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove i386_elf_emit_arch_note
[deliverable/binutils-gdb.git]
/
sim
/
cr16
/
cr16_sim.h
diff --git
a/sim/cr16/cr16_sim.h
b/sim/cr16/cr16_sim.h
index 68e1261107d0876e23d17f5a2e933a00bd5aa838..5e0eabe3b76ec758cc742aab83f3ddf7f91bf7e9 100644
(file)
--- a/
sim/cr16/cr16_sim.h
+++ b/
sim/cr16/cr16_sim.h
@@
-1,5
+1,5
@@
/* Simulation code for the CR16 processor.
/* Simulation code for the CR16 processor.
- Copyright (C) 2008-201
4
Free Software Foundation, Inc.
+ Copyright (C) 2008-201
5
Free Software Foundation, Inc.
Contributed by M Ranga Swami Reddy <MR.Swami.Reddy@nsc.com>
This file is part of GDB, the GNU debugger.
Contributed by M Ranga Swami Reddy <MR.Swami.Reddy@nsc.com>
This file is part of GDB, the GNU debugger.
@@
-285,10
+285,6
@@
extern host_callback *cr16_callback;
extern uint32 OP[4];
extern uint32 sign_flag;
extern struct simops Simops[];
extern uint32 OP[4];
extern uint32 sign_flag;
extern struct simops Simops[];
-extern asection *text;
-extern bfd_vma text_start;
-extern bfd_vma text_end;
-extern bfd *prog_bfd;
enum
{
enum
{
@@
-403,6
+399,11
@@
enum
#define SIG_CR16_BUS -3
#define SIG_CR16_IAD -4
#define SIG_CR16_BUS -3
#define SIG_CR16_IAD -4
+/* TODO: Resolve conflicts with common headers. */
+#undef SEXT8
+#undef SEXT16
+#undef SEXT32
+
#define SEXT3(x) ((((x)&0x7)^(~3))+4)
/* sign-extend a 4-bit number */
#define SEXT3(x) ((((x)&0x7)^(~3))+4)
/* sign-extend a 4-bit number */
This page took
0.023566 seconds
and
4
git commands to generate.