]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - sim/d10v/d10v_sim.h
sim: d10v: convert to nrun
[thirdparty/binutils-gdb.git] / sim / d10v / d10v_sim.h
index c541b41f72acfa62ada14a2de5d26249a9a769e2..87f7d5f1247b73f0bdda4597fa9d3c91c3b7dc25 100644 (file)
@@ -278,10 +278,6 @@ struct _state
 extern host_callback *d10v_callback;
 extern uint16 OP[4];
 extern struct simops Simops[];
-extern asection *text;
-extern bfd_vma text_start;
-extern bfd_vma text_end;
-extern bfd *prog_bfd;
 
 enum
 {
@@ -397,6 +393,12 @@ enum
 #define SIG_D10V_EXIT  -2
 #define SIG_D10V_BUS    -3
 
+/* TODO: Resolve conflicts with common headers.  */
+#undef SEXT8
+#undef SEXT16
+#undef SEXT32
+#undef MASK32
+
 #define SEXT3(x)       ((((x)&0x7)^(~3))+4)    
 
 /* sign-extend a 4-bit number */