diff options
-rw-r--r-- | opcodes/ChangeLog | 4 | ||||
-rw-r--r-- | opcodes/arm-dis.c | 10 |
2 files changed, 2 insertions, 12 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 6c7cd53..5944127 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,7 +1,7 @@ Tue Feb 24 11:06:18 1998 Nick Clifton <nickc@cygnus.com> - * arm-dis.c (print_insn_big_arm): Save the current symbol before - displaying a disassembled line. + * arm-dis.c (print_insn_big_arm, print_insn_little_arm): Remove + saved_symbol code as it is no longer needed. Mon Feb 23 13:16:17 1998 Doug Evans <devans@seba.cygnus.com> diff --git a/opcodes/arm-dis.c b/opcodes/arm-dis.c index 91bcab1..d9d890e 100644 --- a/opcodes/arm-dis.c +++ b/opcodes/arm-dis.c @@ -709,7 +709,6 @@ print_insn_big_arm (pc, info) unsigned char b[4]; long given; int status; - asymbol * saved_symbol; coff_symbol_type * cs; int is_thumb; @@ -758,8 +757,6 @@ print_insn_big_arm (pc, info) given = (b[0] << 24) | (b[1] << 16) | (b[2] << 8) | (b[3]); } - saved_symbol = info->symbol; - if (is_thumb) { status = print_insn_thumb (pc, info, given); @@ -769,8 +766,6 @@ print_insn_big_arm (pc, info) status = print_insn_arm (pc, info, given); } - info->symbol = saved_symbol; /* Stop displayed symbols from resetting the stored symbol */ - return status; } @@ -782,7 +777,6 @@ print_insn_little_arm (pc, info) unsigned char b[4]; long given; int status; - asymbol * saved_symbol; coff_symbol_type * cs; int is_thumb; @@ -813,8 +807,6 @@ print_insn_little_arm (pc, info) given = (b[0]) | (b[1] << 8) | (b[2] << 16) | (b[3] << 24); - saved_symbol = info->symbol; - if (is_thumb) { status = print_insn_thumb (pc, info, given); @@ -824,7 +816,5 @@ print_insn_little_arm (pc, info) status = print_insn_arm (pc, info, given); } - info->symbol = saved_symbol; /* Stop displayed symbols from resetting the stored symbol */ - return status; } |