X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=opcodes%2Fxtensa-dis.c;h=338b810b5a89fefaa9b807ea04a9112959dd4ba4;hb=13f2298f13f2b1e57d177898c49ee8f4f3216fab;hp=705c1ca81893370170a7d81bb835be0107bac544;hpb=4b95cf5c0c75d6efc1b2f96af72317aecca079f1;p=platform%2Fupstream%2Fbinutils.git diff --git a/opcodes/xtensa-dis.c b/opcodes/xtensa-dis.c index 705c1ca..338b810 100644 --- a/opcodes/xtensa-dis.c +++ b/opcodes/xtensa-dis.c @@ -42,7 +42,7 @@ int show_raw_fields; 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); - longjmp (priv->bailout, 1); + OPCODES_SIGLONGJMP (priv->bailout, 1); /*NOTREACHED*/ } @@ -175,7 +175,7 @@ print_insn_xtensa (bfd_vma memaddr, struct disassemble_info *info) 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;