aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bfd/ChangeLog3
-rw-r--r--bfd/elf32-ip2k.c9
2 files changed, 3 insertions, 9 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 78412ec..d79aa24 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -32,6 +32,9 @@
* coffcode.h (coff_std_swap_table): Add an unused attribute in
case it is not used.
+ * elf32-ip2k.c (ip2k_call_opcode, IS_CALL_OPCODE): Remove unused
+ structure and macro.
+
2005-02-12 Alan Modra <amodra@bigpond.net.au>
* elf64-ppc.c (toc_adjusting_stub_needed): Return true for
diff --git a/bfd/elf32-ip2k.c b/bfd/elf32-ip2k.c
index 94e04f4..0c7c37c 100644
--- a/bfd/elf32-ip2k.c
+++ b/bfd/elf32-ip2k.c
@@ -106,15 +106,6 @@ static const struct ip2k_opcode ip2k_jmp_opcode[] =
#define IS_JMP_OPCODE(code) \
ip2k_is_opcode (code, ip2k_jmp_opcode)
-static const struct ip2k_opcode ip2k_call_opcode[] =
-{
- {0xC000, 0xE000}, /* call */
- {0x0000, 0x0000},
-};
-
-#define IS_CALL_OPCODE(code) \
- ip2k_is_opcode (code, ip2k_call_opcode)
-
static const struct ip2k_opcode ip2k_snc_opcode[] =
{
{0xA00B, 0xFFFF}, /* snc */