public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Nick Clifton <nickc@redhat.com>
To: binutils@sources.redhat.com
Subject: Fix compile time warning in bfd/elf32-ip2k.c
Date: Fri, 11 Feb 2005 19:24:00 -0000	[thread overview]
Message-ID: <m3r7jn57vi.fsf@redhat.com> (raw)

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

                 reply	other threads:[~2005-02-11 17:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3r7jn57vi.fsf@redhat.com \
    --to=nickc@redhat.com \
    --cc=binutils@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).