This is the mail archive of the binutils-cvs@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Regen cgen files


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=4274208406762da7af6dd697f44d8e6895061530

commit 4274208406762da7af6dd697f44d8e6895061530
Author: Alan Modra <amodra@gmail.com>
Date:   Thu Apr 13 10:33:53 2017 +0930

    Regen cgen files
    
    	* epiphany-desc.c: Regenerate.
    	* fr30-desc.c: Regenerate.
    	* frv-desc.c: Regenerate.
    	* ip2k-desc.c: Regenerate.
    	* iq2000-desc.c: Regenerate.
    	* lm32-desc.c: Regenerate.
    	* m32c-desc.c: Regenerate.
    	* m32r-desc.c: Regenerate.
    	* mep-desc.c: Regenerate.
    	* mt-desc.c: Regenerate.
    	* or1k-desc.c: Regenerate.
    	* xc16x-desc.c: Regenerate.
    	* xstormy16-desc.c: Regenerate.

Diff:
---
 opcodes/ChangeLog        | 16 ++++++++++++++++
 opcodes/epiphany-desc.c  |  5 +++--
 opcodes/fr30-desc.c      |  5 +++--
 opcodes/frv-desc.c       |  1 +
 opcodes/ip2k-desc.c      |  5 +++--
 opcodes/iq2000-desc.c    |  5 +++--
 opcodes/lm32-desc.c      |  5 +++--
 opcodes/m32c-desc.c      |  5 +++--
 opcodes/m32r-desc.c      |  5 +++--
 opcodes/mep-desc.c       |  5 +++--
 opcodes/mt-desc.c        |  5 +++--
 opcodes/or1k-desc.c      |  5 +++--
 opcodes/xc16x-desc.c     |  5 +++--
 opcodes/xstormy16-desc.c |  5 +++--
 14 files changed, 53 insertions(+), 24 deletions(-)

diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 1a15671..63afa0e 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,19 @@
+2017-04-13  Alan Modra  <amodra@gmail.com>
+
+	* epiphany-desc.c: Regenerate.
+	* fr30-desc.c: Regenerate.
+	* frv-desc.c: Regenerate.
+	* ip2k-desc.c: Regenerate.
+	* iq2000-desc.c: Regenerate.
+	* lm32-desc.c: Regenerate.
+	* m32c-desc.c: Regenerate.
+	* m32r-desc.c: Regenerate.
+	* mep-desc.c: Regenerate.
+	* mt-desc.c: Regenerate.
+	* or1k-desc.c: Regenerate.
+	* xc16x-desc.c: Regenerate.
+	* xstormy16-desc.c: Regenerate.
+
 2017-04-11  Alan Modra  <amodra@gmail.com>
 
 	* ppc-dis.c (ppc_opts): Remove PPC_OPCODE_ALTIVEC2,
diff --git a/opcodes/epiphany-desc.c b/opcodes/epiphany-desc.c
index 1b15e01..babe8d1 100644
--- a/opcodes/epiphany-desc.c
+++ b/opcodes/epiphany-desc.c
@@ -1956,7 +1956,7 @@ lookup_mach_via_bfd_name (const CGEN_MACH *table, const char *name)
 	return table;
       ++table;
     }
-  abort ();
+  return NULL;
 }
 
 /* Subroutine of epiphany_cgen_cpu_open to build the hardware table.  */
@@ -2170,7 +2170,8 @@ epiphany_cgen_cpu_open (enum cgen_cpu_open_arg arg_type, ...)
 	    const CGEN_MACH *mach =
 	      lookup_mach_via_bfd_name (epiphany_cgen_mach_table, name);
 
-	    machs |= 1 << mach->num;
+	    if (mach != NULL)
+	      machs |= 1 << mach->num;
 	    break;
 	  }
 	case CGEN_CPU_OPEN_ENDIAN :
diff --git a/opcodes/fr30-desc.c b/opcodes/fr30-desc.c
index 62b8c8c..6c013d9 100644
--- a/opcodes/fr30-desc.c
+++ b/opcodes/fr30-desc.c
@@ -1433,7 +1433,7 @@ lookup_mach_via_bfd_name (const CGEN_MACH *table, const char *name)
 	return table;
       ++table;
     }
-  abort ();
+  return NULL;
 }
 
 /* Subroutine of fr30_cgen_cpu_open to build the hardware table.  */
@@ -1647,7 +1647,8 @@ fr30_cgen_cpu_open (enum cgen_cpu_open_arg arg_type, ...)
 	    const CGEN_MACH *mach =
 	      lookup_mach_via_bfd_name (fr30_cgen_mach_table, name);
 
-	    machs |= 1 << mach->num;
+	    if (mach != NULL)
+	      machs |= 1 << mach->num;
 	    break;
 	  }
 	case CGEN_CPU_OPEN_ENDIAN :
diff --git a/opcodes/frv-desc.c b/opcodes/frv-desc.c
index bba510c..8f63cb1 100644
--- a/opcodes/frv-desc.c
+++ b/opcodes/frv-desc.c
@@ -6386,6 +6386,7 @@ frv_cgen_cpu_open (enum cgen_cpu_open_arg arg_type, ...)
 	    const char *name = va_arg (ap, const char *);
 	    const CGEN_MACH *mach =
 	      lookup_mach_via_bfd_name (frv_cgen_mach_table, name);
+
 	    if (mach != NULL)
 	      machs |= 1 << mach->num;
 	    break;
diff --git a/opcodes/ip2k-desc.c b/opcodes/ip2k-desc.c
index 1f45fa0..75f2363 100644
--- a/opcodes/ip2k-desc.c
+++ b/opcodes/ip2k-desc.c
@@ -862,7 +862,7 @@ lookup_mach_via_bfd_name (const CGEN_MACH *table, const char *name)
 	return table;
       ++table;
     }
-  abort ();
+  return NULL;
 }
 
 /* Subroutine of ip2k_cgen_cpu_open to build the hardware table.  */
@@ -1076,7 +1076,8 @@ ip2k_cgen_cpu_open (enum cgen_cpu_open_arg arg_type, ...)
 	    const CGEN_MACH *mach =
 	      lookup_mach_via_bfd_name (ip2k_cgen_mach_table, name);
 
-	    machs |= 1 << mach->num;
+	    if (mach != NULL)
+	      machs |= 1 << mach->num;
 	    break;
 	  }
 	case CGEN_CPU_OPEN_ENDIAN :
diff --git a/opcodes/iq2000-desc.c b/opcodes/iq2000-desc.c
index aa52405..5921c05 100644
--- a/opcodes/iq2000-desc.c
+++ b/opcodes/iq2000-desc.c
@@ -1867,7 +1867,7 @@ lookup_mach_via_bfd_name (const CGEN_MACH *table, const char *name)
 	return table;
       ++table;
     }
-  abort ();
+  return NULL;
 }
 
 /* Subroutine of iq2000_cgen_cpu_open to build the hardware table.  */
@@ -2081,7 +2081,8 @@ iq2000_cgen_cpu_open (enum cgen_cpu_open_arg arg_type, ...)
 	    const CGEN_MACH *mach =
 	      lookup_mach_via_bfd_name (iq2000_cgen_mach_table, name);
 
-	    machs |= 1 << mach->num;
+	    if (mach != NULL)
+	      machs |= 1 << mach->num;
 	    break;
 	  }
 	case CGEN_CPU_OPEN_ENDIAN :
diff --git a/opcodes/lm32-desc.c b/opcodes/lm32-desc.c
index 0a64e0a..1b3e565 100644
--- a/opcodes/lm32-desc.c
+++ b/opcodes/lm32-desc.c
@@ -849,7 +849,7 @@ lookup_mach_via_bfd_name (const CGEN_MACH *table, const char *name)
 	return table;
       ++table;
     }
-  abort ();
+  return NULL;
 }
 
 /* Subroutine of lm32_cgen_cpu_open to build the hardware table.  */
@@ -1063,7 +1063,8 @@ lm32_cgen_cpu_open (enum cgen_cpu_open_arg arg_type, ...)
 	    const CGEN_MACH *mach =
 	      lookup_mach_via_bfd_name (lm32_cgen_mach_table, name);
 
-	    machs |= 1 << mach->num;
+	    if (mach != NULL)
+	      machs |= 1 << mach->num;
 	    break;
 	  }
 	case CGEN_CPU_OPEN_ENDIAN :
diff --git a/opcodes/m32c-desc.c b/opcodes/m32c-desc.c
index 596f2c1..54e2912 100644
--- a/opcodes/m32c-desc.c
+++ b/opcodes/m32c-desc.c
@@ -62880,7 +62880,7 @@ lookup_mach_via_bfd_name (const CGEN_MACH *table, const char *name)
 	return table;
       ++table;
     }
-  abort ();
+  return NULL;
 }
 
 /* Subroutine of m32c_cgen_cpu_open to build the hardware table.  */
@@ -63094,7 +63094,8 @@ m32c_cgen_cpu_open (enum cgen_cpu_open_arg arg_type, ...)
 	    const CGEN_MACH *mach =
 	      lookup_mach_via_bfd_name (m32c_cgen_mach_table, name);
 
-	    machs |= 1 << mach->num;
+	    if (mach != NULL)
+	      machs |= 1 << mach->num;
 	    break;
 	  }
 	case CGEN_CPU_OPEN_ENDIAN :
diff --git a/opcodes/m32r-desc.c b/opcodes/m32r-desc.c
index eb5ed36..7b92d67 100644
--- a/opcodes/m32r-desc.c
+++ b/opcodes/m32r-desc.c
@@ -1212,7 +1212,7 @@ lookup_mach_via_bfd_name (const CGEN_MACH *table, const char *name)
 	return table;
       ++table;
     }
-  abort ();
+  return NULL;
 }
 
 /* Subroutine of m32r_cgen_cpu_open to build the hardware table.  */
@@ -1426,7 +1426,8 @@ m32r_cgen_cpu_open (enum cgen_cpu_open_arg arg_type, ...)
 	    const CGEN_MACH *mach =
 	      lookup_mach_via_bfd_name (m32r_cgen_mach_table, name);
 
-	    machs |= 1 << mach->num;
+	    if (mach != NULL)
+	      machs |= 1 << mach->num;
 	    break;
 	  }
 	case CGEN_CPU_OPEN_ENDIAN :
diff --git a/opcodes/mep-desc.c b/opcodes/mep-desc.c
index 4077a73..680daed 100644
--- a/opcodes/mep-desc.c
+++ b/opcodes/mep-desc.c
@@ -6073,7 +6073,7 @@ lookup_mach_via_bfd_name (const CGEN_MACH *table, const char *name)
 	return table;
       ++table;
     }
-  abort ();
+  return NULL;
 }
 
 /* Subroutine of mep_cgen_cpu_open to build the hardware table.  */
@@ -6287,7 +6287,8 @@ mep_cgen_cpu_open (enum cgen_cpu_open_arg arg_type, ...)
 	    const CGEN_MACH *mach =
 	      lookup_mach_via_bfd_name (mep_cgen_mach_table, name);
 
-	    machs |= 1 << mach->num;
+	    if (mach != NULL)
+	      machs |= 1 << mach->num;
 	    break;
 	  }
 	case CGEN_CPU_OPEN_ENDIAN :
diff --git a/opcodes/mt-desc.c b/opcodes/mt-desc.c
index 1a3441a..24e2af0 100644
--- a/opcodes/mt-desc.c
+++ b/opcodes/mt-desc.c
@@ -993,7 +993,7 @@ lookup_mach_via_bfd_name (const CGEN_MACH *table, const char *name)
 	return table;
       ++table;
     }
-  abort ();
+  return NULL;
 }
 
 /* Subroutine of mt_cgen_cpu_open to build the hardware table.  */
@@ -1207,7 +1207,8 @@ mt_cgen_cpu_open (enum cgen_cpu_open_arg arg_type, ...)
 	    const CGEN_MACH *mach =
 	      lookup_mach_via_bfd_name (mt_cgen_mach_table, name);
 
-	    machs |= 1 << mach->num;
+	    if (mach != NULL)
+	      machs |= 1 << mach->num;
 	    break;
 	  }
 	case CGEN_CPU_OPEN_ENDIAN :
diff --git a/opcodes/or1k-desc.c b/opcodes/or1k-desc.c
index 3a9fdb7..003beb7 100644
--- a/opcodes/or1k-desc.c
+++ b/opcodes/or1k-desc.c
@@ -1795,7 +1795,7 @@ lookup_mach_via_bfd_name (const CGEN_MACH *table, const char *name)
 	return table;
       ++table;
     }
-  abort ();
+  return NULL;
 }
 
 /* Subroutine of or1k_cgen_cpu_open to build the hardware table.  */
@@ -2009,7 +2009,8 @@ or1k_cgen_cpu_open (enum cgen_cpu_open_arg arg_type, ...)
 	    const CGEN_MACH *mach =
 	      lookup_mach_via_bfd_name (or1k_cgen_mach_table, name);
 
-	    machs |= 1 << mach->num;
+	    if (mach != NULL)
+	      machs |= 1 << mach->num;
 	    break;
 	  }
 	case CGEN_CPU_OPEN_ENDIAN :
diff --git a/opcodes/xc16x-desc.c b/opcodes/xc16x-desc.c
index 6074ad5..4df9620 100644
--- a/opcodes/xc16x-desc.c
+++ b/opcodes/xc16x-desc.c
@@ -3196,7 +3196,7 @@ lookup_mach_via_bfd_name (const CGEN_MACH *table, const char *name)
 	return table;
       ++table;
     }
-  abort ();
+  return NULL;
 }
 
 /* Subroutine of xc16x_cgen_cpu_open to build the hardware table.  */
@@ -3410,7 +3410,8 @@ xc16x_cgen_cpu_open (enum cgen_cpu_open_arg arg_type, ...)
 	    const CGEN_MACH *mach =
 	      lookup_mach_via_bfd_name (xc16x_cgen_mach_table, name);
 
-	    machs |= 1 << mach->num;
+	    if (mach != NULL)
+	      machs |= 1 << mach->num;
 	    break;
 	  }
 	case CGEN_CPU_OPEN_ENDIAN :
diff --git a/opcodes/xstormy16-desc.c b/opcodes/xstormy16-desc.c
index 7226493..76b8f07 100644
--- a/opcodes/xstormy16-desc.c
+++ b/opcodes/xstormy16-desc.c
@@ -1164,7 +1164,7 @@ lookup_mach_via_bfd_name (const CGEN_MACH *table, const char *name)
 	return table;
       ++table;
     }
-  abort ();
+  return NULL;
 }
 
 /* Subroutine of xstormy16_cgen_cpu_open to build the hardware table.  */
@@ -1378,7 +1378,8 @@ xstormy16_cgen_cpu_open (enum cgen_cpu_open_arg arg_type, ...)
 	    const CGEN_MACH *mach =
 	      lookup_mach_via_bfd_name (xstormy16_cgen_mach_table, name);
 
-	    machs |= 1 << mach->num;
+	    if (mach != NULL)
+	      machs |= 1 << mach->num;
 	    break;
 	  }
 	case CGEN_CPU_OPEN_ENDIAN :


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]