X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fxtensa-isa-internal.h;h=4e7ccd327536f9d7d14d1bc7bfba73ccaf44b02e;hb=abb78b78c4184d2ac968362229adae268385a21c;hp=44e53f95b30f8f3362d5619275732066cd953367;hpb=a1ace8d8587718c6ccbd4bc9c7c4a2907866ee91;p=deliverable%2Fbinutils-gdb.git diff --git a/include/xtensa-isa-internal.h b/include/xtensa-isa-internal.h index 44e53f95b3..4e7ccd3275 100644 --- a/include/xtensa-isa-internal.h +++ b/include/xtensa-isa-internal.h @@ -1,11 +1,11 @@ /* Internal definitions for configurable Xtensa ISA support. - Copyright 2003, 2004 Free Software Foundation, Inc. + Copyright (C) 2003-2020 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 {