From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17440 invoked by alias); 11 Feb 2005 17:12:34 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 17410 invoked from network); 11 Feb 2005 17:12:30 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 11 Feb 2005 17:12:30 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id j1BHCUXK010072 for ; Fri, 11 Feb 2005 12:12:30 -0500 Received: from pobox.surrey.redhat.com (pobox.surrey.redhat.com [172.16.10.17]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j1BHCTO12822 for ; Fri, 11 Feb 2005 12:12:29 -0500 Received: from localhost.localdomain.redhat.com (vpnuser9.surrey.redhat.com [172.16.9.9]) by pobox.surrey.redhat.com (8.12.8/8.12.8) with ESMTP id j1BHCSMR004602 for ; Fri, 11 Feb 2005 17:12:28 GMT To: binutils@sources.redhat.com Subject: Fix compile time warning in bfd/elf32-ip2k.c From: Nick Clifton Date: Fri, 11 Feb 2005 19:24:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2005-02/txt/msg00253.txt.bz2 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 * 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 ----