Fix compile time warning in bfd/elf32-ip2k.c
Nick Clifton
nickc@redhat.com
Fri Feb 11 19:24:00 GMT 2005
Hi Guys,
I am applying the patch below to fix a compile time warning building
libbfd.c.
Cheers
Nick
bfd/ChangeLog
2005-02-11 Nick Clifton <nickc@redhat.com>
* elf32-ip2k.c (ip2k_call_opcode, IS_CALL_OPCODE): Remove unused
structure and macro.
Index: bfd/elf32-ip2k.c
===================================================================
RCS file: /cvs/src/src/bfd/elf32-ip2k.c,v
retrieving revision 1.15
diff -c -3 -p -r1.15 elf32-ip2k.c
*** bfd/elf32-ip2k.c 31 Jan 2005 23:13:21 -0000 1.15
--- bfd/elf32-ip2k.c 11 Feb 2005 17:10:32 -0000
*************** static const struct ip2k_opcode ip2k_jmp
*** 106,120 ****
#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 */
--- 106,111 ----
More information about the Binutils
mailing list