Automatic date update in version.in
[deliverable/binutils-gdb.git] / include / xtensa-isa-internal.h
index 50ac4781c3708003d2078b2ad0bcd773b8fc2122..e269403ee529a1f7b921f7524b79706b8abd472e 100644 (file)
@@ -1,11 +1,11 @@
 /* Internal definitions for configurable Xtensa ISA support.
-   Copyright 2003, 2004 Free Software Foundation, Inc.
+   Copyright (C) 2003-2019 Free Software Foundation, Inc.
 
    This file is part of BFD, the Binary File Descriptor library.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
-   the Free Software Foundation; either version 2 of the License, or
+   the Free Software Foundation; either version 3 of the License, or
    (at your option) any later version.
 
    This program is distributed in the hope that it will be useful,
@@ -15,7 +15,8 @@
 
    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
-   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
+   Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301,
+   USA.  */
 
 #ifndef XTENSA_ISA_INTERNAL_H
 #define XTENSA_ISA_INTERNAL_H
@@ -33,6 +34,7 @@
 #define XTENSA_OPCODE_IS_CALL          0x00000008
 
 #define XTENSA_STATE_IS_EXPORTED       0x00000001
+#define XTENSA_STATE_IS_SHARED_OR      0x00000002
 
 #define XTENSA_INTERFACE_HAS_SIDE_EFFECT 0x00000001
 
@@ -49,7 +51,7 @@ typedef int (*xtensa_do_reloc_fn) (uint32 *, uint32);
 typedef int (*xtensa_undo_reloc_fn) (uint32 *, uint32);
 typedef void (*xtensa_opcode_encode_fn) (xtensa_insnbuf);
 typedef int (*xtensa_format_decode_fn) (const xtensa_insnbuf);
-typedef int (*xtensa_length_decode_fn) (const char *);
+typedef int (*xtensa_length_decode_fn) (const unsigned char *);
 
 typedef struct xtensa_format_internal_struct
 {
@@ -131,6 +133,7 @@ typedef struct xtensa_interface_internal_struct
   const char *name;                    /* Interface name.  */
   int num_bits;                                /* Width of the interface.  */
   uint32 flags;                                /* See XTENSA_INTERFACE_* flags.  */
+  int class_id;                                /* Class of related interfaces.  */
   char inout;                          /* "i" or "o".  */
 } xtensa_interface_internal;
 
This page took 0.02386 seconds and 4 git commands to generate.