projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update translations for various binutils components.
[deliverable/binutils-gdb.git]
/
opcodes
/
xtensa-dis.c
diff --git
a/opcodes/xtensa-dis.c
b/opcodes/xtensa-dis.c
index 5dfdb22a416ff5a56315e6cdffda971f272a5fee..d78f9d5f9490f675b616d7bbef2569493f2a0851 100644
(file)
--- a/
opcodes/xtensa-dis.c
+++ b/
opcodes/xtensa-dis.c
@@
-1,5
+1,5
@@
/* xtensa-dis.c. Disassembly functions for Xtensa.
/* xtensa-dis.c. Disassembly functions for Xtensa.
- Copyright
2003, 2004, 2007
Free Software Foundation, Inc.
+ Copyright
(C) 2003-2018
Free Software Foundation, Inc.
Contributed by Bob Wilson at Tensilica, Inc. (bwilson@tensilica.com)
This file is part of the GNU opcodes library.
Contributed by Bob Wilson at Tensilica, Inc. (bwilson@tensilica.com)
This file is part of the GNU opcodes library.
@@
-19,6
+19,7
@@
Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston,
MA 02110-1301, USA. */
Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston,
MA 02110-1301, USA. */
+#include "sysdep.h"
#include <stdlib.h>
#include <stdio.h>
#include <sys/types.h>
#include <stdlib.h>
#include <stdio.h>
#include <sys/types.h>
@@
-26,8
+27,7
@@
#include "xtensa-isa.h"
#include "ansidecl.h"
#include "libiberty.h"
#include "xtensa-isa.h"
#include "ansidecl.h"
#include "libiberty.h"
-#include "sysdep.h"
-#include "dis-asm.h"
+#include "disassemble.h"
#include <setjmp.h>
#include <setjmp.h>
@@
-42,7
+42,7
@@
int show_raw_fields;
struct dis_private
{
bfd_byte *byte_buf;
struct dis_private
{
bfd_byte *byte_buf;
-
jmp_buf
bailout;
+
OPCODES_SIGJMP_BUF
bailout;
};
};
@@
-66,7
+66,7
@@
fetch_data (struct disassemble_info *info, bfd_vma memaddr)
return length;
}
(*info->memory_error_func) (status, memaddr, info);
return length;
}
(*info->memory_error_func) (status, memaddr, info);
-
longjmp
(priv->bailout, 1);
+
OPCODES_SIGLONGJMP
(priv->bailout, 1);
/*NOTREACHED*/
}
/*NOTREACHED*/
}
@@
-80,7
+80,7
@@
print_xtensa_operand (bfd_vma memaddr,
{
xtensa_isa isa = xtensa_default_isa;
int signed_operand_val;
{
xtensa_isa isa = xtensa_default_isa;
int signed_operand_val;
-
+
if (show_raw_fields)
{
if (operand_val < 0xa)
if (show_raw_fields)
{
if (operand_val < 0xa)
@@
-124,7
+124,7
@@
print_xtensa_operand (bfd_vma memaddr,
xtensa_regfile_shortname (isa, opnd_rf),
operand_val);
i++;
xtensa_regfile_shortname (isa, opnd_rf),
operand_val);
i++;
- }
+ }
}
}
}
}
@@
-175,7
+175,7
@@
print_insn_xtensa (bfd_vma memaddr, struct disassemble_info *info)
priv.byte_buf = byte_buf;
info->private_data = (void *) &priv;
priv.byte_buf = byte_buf;
info->private_data = (void *) &priv;
- if (
setjmp
(priv.bailout) != 0)
+ if (
OPCODES_SIGSETJMP
(priv.bailout) != 0)
/* Error return. */
return -1;
/* Error return. */
return -1;
This page took
0.024135 seconds
and
4
git commands to generate.