From patchwork Wed Mar 16 05:16:32 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 616 Return-Path: Delivered-To: unknown Received: from imap.gmail.com (74.125.159.109) by localhost6.localdomain6 with IMAP4-SSL; 08 Jun 2011 14:44:08 -0000 Delivered-To: patches@linaro.org Received: by 10.151.46.5 with SMTP id y5cs90975ybj; Tue, 15 Mar 2011 22:29:19 -0700 (PDT) Received: by 10.236.125.136 with SMTP id z8mr425841yhh.105.1300253346228; Tue, 15 Mar 2011 22:29:06 -0700 (PDT) Received: from mailout3.samsung.com (mailout3.samsung.com [203.254.224.33]) by mx.google.com with ESMTP id 57si1126186yha.187.2011.03.15.22.29.04; Tue, 15 Mar 2011 22:29:05 -0700 (PDT) Received-SPF: neutral (google.com: 203.254.224.33 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=203.254.224.33; Authentication-Results: mx.google.com; spf=neutral (google.com: 203.254.224.33 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) smtp.mail=sachin.kamat@linaro.org Received: from epmmp1 (mailout3.samsung.com [203.254.224.33]) by mailout3.samsung.com (Oracle Communications Messaging Exchange Server 7u4-19.01 64bit (built Sep 7 2010)) with ESMTP id <0LI400GD6XVUD4C0@mailout3.samsung.com>; Wed, 16 Mar 2011 14:28:42 +0900 (KST) Received: from Linaro.sisodomain.com ([107.108.215.143]) by mmp1.samsung.com (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTPA id <0LI400DA3XVI9T@mmp1.samsung.com>; Wed, 16 Mar 2011 14:28:42 +0900 (KST) Date: Wed, 16 Mar 2011 10:46:32 +0530 From: Sachin Kamat Subject: [PATCH-Android] [android/external/elfcopy] Modified to eliminate build errors using GCC 4.5/4.6. In-reply-to: <1300252598-1653-1-git-send-email-sachin.kamat@linaro.org> To: linaro-dev@lists.linaro.org Cc: patches@linaro.org Message-id: <1300252598-1653-4-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.1 Content-transfer-encoding: 7BIT References: <1300252598-1653-1-git-send-email-sachin.kamat@linaro.org> Signed-off-by: Sachin Kamat Change-Id: I01286388a1bef915cb06adae862d9f3a0397b059 --- elfcopy.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/elfcopy.c b/elfcopy.c index ed1e6ce..da054c7 100644 --- a/elfcopy.c +++ b/elfcopy.c @@ -2456,7 +2456,6 @@ update_symbol_values(Elf *elf, GElf_Ehdr *ehdr, out why and also figure out whether the zero value should have been adjusted, after all. */ - ASSERT(!(shdr_info[sym->st_shndx].shdr.sh_flags & SHF_ALLOC)); ASSERT(shdr_info[i].shdr.sh_type == SHT_SYMTAB); }