aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2005-02-11 17:13:02 +0000
committerNick Clifton <nickc@redhat.com>2005-02-11 17:13:02 +0000
commit596c83ecf6721933e7cfbec8e3e5615f83c147b4 (patch)
tree45eded7dfb731a95278736618778c56bafe6cdb2 /bfd
parentcb7a88a4dd27fb2fd82ce56161188fb80174e36a (diff)
downloadfsf-binutils-gdb-596c83ecf6721933e7cfbec8e3e5615f83c147b4.zip
fsf-binutils-gdb-596c83ecf6721933e7cfbec8e3e5615f83c147b4.tar.gz
fsf-binutils-gdb-596c83ecf6721933e7cfbec8e3e5615f83c147b4.tar.bz2
(ip2k_call_opcode, IS_CALL_OPCODE): Remove unused structure and macro.
Diffstat (limited to 'bfd')
-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 */