]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - opcodes/tic80-opc.c
xtensa: gas: put .literal_position at section start
[thirdparty/binutils-gdb.git] / opcodes / tic80-opc.c
index 70e38ec511f898f0b488584f2e4170fd4434c3cc..517bf627e5044870b5ae13010af550985eb76263 100644 (file)
@@ -1,5 +1,5 @@
 /* Opcode table for TI TMS320C80 (MVP).
-   Copyright 1996, 1997, 2000, 2005, 2007 Free Software Foundation, Inc.
+   Copyright (C) 1996-2019 Free Software Foundation, Inc.
 
    This file is part of the GNU opcodes library.
 
@@ -18,8 +18,8 @@
    Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston,
    MA 02110-1301, USA.  */
 
-#include <stdio.h>
 #include "sysdep.h"
+#include <stdio.h>
 #include "opcode/tic80.h"
 
 /* This file holds various tables for the TMS320C80 (MVP).
@@ -233,9 +233,7 @@ const int tic80_num_predefined_symbols = sizeof (tic80_predefined_symbols) / siz
  */
 
 int
-tic80_symbol_to_value (name, symbol_class)
-     char *name;
-     int symbol_class;
+tic80_symbol_to_value (char *name, int symbol_class)
 {
   const struct predefined_symbol *pdsp;
   int low = 0;
@@ -256,7 +254,7 @@ tic80_symbol_to_value (name, symbol_class)
        {
          low = middle + 1;
        }
-      else 
+      else
        {
          pdsp = &tic80_predefined_symbols[middle];
          if ((symbol_class == 0) || (symbol_class & PDS_VALUE (pdsp)))
@@ -275,9 +273,7 @@ tic80_symbol_to_value (name, symbol_class)
    is zero, the first matching symbol is returned. */
 
 const char *
-tic80_value_to_symbol (val, symbol_class)
-     int val;
-     int symbol_class;
+tic80_value_to_symbol (int val, int symbol_class)
 {
   const struct predefined_symbol *pdsp;
   int ival;
@@ -310,8 +306,7 @@ tic80_value_to_symbol (val, symbol_class)
    returns NULL. */
 
 const struct predefined_symbol *
-tic80_next_predefined_symbol (pdsp)
-     const struct predefined_symbol *pdsp;
+tic80_next_predefined_symbol (const struct predefined_symbol *pdsp)
 {
   if (pdsp == NULL)
     {