Make RL78 disassembler and simulator respect ISA for mul/div
[deliverable/binutils-gdb.git] / gas / config / tc-rl78.c
index b5f0563a50cb9ebd61a278ec48b4360e3b9fa934..3c3f78c02180633fd9c2c2efae78d6a5a47383d4 100644 (file)
@@ -339,6 +339,24 @@ md_parse_option (int c, char * arg ATTRIBUTE_UNUSED)
   return 0;
 }
 
+int
+rl78_isa_g10 (void)
+{
+  return (elf_flags & E_FLAG_RL78_CPU_MASK) == E_FLAG_RL78_G10;
+}
+
+int
+rl78_isa_g13 (void)
+{
+  return (elf_flags & E_FLAG_RL78_CPU_MASK) == E_FLAG_RL78_G13;
+}
+
+int
+rl78_isa_g14 (void)
+{
+  return (elf_flags & E_FLAG_RL78_CPU_MASK) == E_FLAG_RL78_G14;
+}
+
 void
 md_show_usage (FILE * stream)
 {
This page took 0.025004 seconds and 4 git commands to generate.