diff options
author | Jan Beulich <jbeulich@suse.com> | 2023-04-21 12:09:59 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2023-04-21 12:09:59 +0200 |
commit | d82c06b68e32d01d59b664fe32496184db19b251 (patch) | |
tree | ec196accf2f3f77afeef573cd7f251b9e1705792 | |
parent | a82b3c5656d62a47173ddebab52819a2d0788de7 (diff) | |
download | fsf-binutils-gdb-d82c06b68e32d01d59b664fe32496184db19b251.zip fsf-binutils-gdb-d82c06b68e32d01d59b664fe32496184db19b251.tar.gz fsf-binutils-gdb-d82c06b68e32d01d59b664fe32496184db19b251.tar.bz2 |
x86: drop use of setjmp() from disassembler
With the longjmp() uses all gone, the setjmp() isn't necessary anymore
either.
-rw-r--r-- | opcodes/i386-dis.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c index 2481538..d6bff51 100644 --- a/opcodes/i386-dis.c +++ b/opcodes/i386-dis.c @@ -39,7 +39,6 @@ #include "libiberty.h" #include "safe-ctype.h" -#include <setjmp.h> typedef struct instr_info instr_info; static bool dofloat (instr_info *, int); @@ -133,7 +132,6 @@ struct dis_private { bfd_byte the_buffer[MAX_MNEM_SIZE]; bfd_vma insn_start; int orig_sizeflag; - OPCODES_SIGJMP_BUF bailout; }; enum address_mode @@ -9874,9 +9872,6 @@ print_insn (bfd_vma pc, disassemble_info *info, int intel_syntax) ins.op_out[i] = op_out[i]; } - if (OPCODES_SIGSETJMP (priv.bailout) != 0) - return fetch_error (&ins); - sizeflag = priv.orig_sizeflag; switch (ckprefix (&ins)) |