projects
/
platform
/
upstream
/
binutils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix undefined weak symbol reloc tests
[platform/upstream/binutils.git]
/
opcodes
/
ns32k-dis.c
diff --git
a/opcodes/ns32k-dis.c
b/opcodes/ns32k-dis.c
index
b29eccc
..
c6a42df
100644
(file)
--- a/
opcodes/ns32k-dis.c
+++ b/
opcodes/ns32k-dis.c
@@
-57,7
+57,7
@@
struct private
bfd_byte *max_fetched;
bfd_byte the_buffer[MAXLEN];
bfd_vma insn_start;
bfd_byte *max_fetched;
bfd_byte the_buffer[MAXLEN];
bfd_vma insn_start;
-
jmp_buf
bailout;
+
OPCODES_SIGJMP_BUF
bailout;
};
};
@@
-82,7
+82,7
@@
fetch_data (struct disassemble_info *info, bfd_byte *addr)
if (status != 0)
{
(*info->memory_error_func) (status, start, info);
if (status != 0)
{
(*info->memory_error_func) (status, start, info);
-
longjmp
(priv->bailout, 1);
+
OPCODES_SIGLONGJMP
(priv->bailout, 1);
}
else
priv->max_fetched = addr;
}
else
priv->max_fetched = addr;
@@
-745,7
+745,7
@@
print_insn_ns32k (bfd_vma memaddr, disassemble_info *info)
info->private_data = & priv;
priv.max_fetched = priv.the_buffer;
priv.insn_start = memaddr;
info->private_data = & priv;
priv.max_fetched = priv.the_buffer;
priv.insn_start = memaddr;
- if (
setjmp
(priv.bailout) != 0)
+ if (
OPCODES_SIGSETJMP
(priv.bailout) != 0)
/* Error return. */
return -1;
/* Error return. */
return -1;