From 89dc75c562a7f4927b101173273450c461e0e831 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 24 Feb 1998 19:23:07 +0000 Subject: [PATCH] Removed saved_symbol code as it is no longer needed. --- opcodes/ChangeLog | 4 ++-- opcodes/arm-dis.c | 10 ---------- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 6c7cd53478..594412718c 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,7 +1,7 @@ Tue Feb 24 11:06:18 1998 Nick Clifton - * 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 diff --git a/opcodes/arm-dis.c b/opcodes/arm-dis.c index 91bcab120a..d9d890ec7c 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; } -- 2.34.1