public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Fix compile time warning in bfd/elf32-ip2k.c
@ 2005-02-11 19:24 Nick Clifton
  0 siblings, 0 replies; only message in thread
From: Nick Clifton @ 2005-02-11 19:24 UTC (permalink / raw)
  To: binutils

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 ----
  

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-02-11 17:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-11 19:24 Fix compile time warning in bfd/elf32-ip2k.c Nick Clifton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).