From patchwork Sat Jun 11 20:48:28 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Baldwin X-Patchwork-Id: 12986 Received: (qmail 103007 invoked by alias); 11 Jun 2016 20:49:30 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 102734 invoked by uid 89); 11 Jun 2016 20:49:29 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.5 required=5.0 tests=AWL, BAYES_05, SPF_HELO_PASS, SPF_SOFTFAIL autolearn=no version=3.3.2 spammy=2.7.0, nickcredhatcom, sk:nickcr, nickc@redhat.com X-Spam-User: qpsmtpd, 2 recipients X-HELO: bigwig.baldwin.cx Received: from bigwig.baldwin.cx (HELO bigwig.baldwin.cx) (96.47.65.170) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Sat, 11 Jun 2016 20:49:26 +0000 Received: from ralph.baldwin.cx.net (c-73-231-226-104.hsd1.ca.comcast.net [73.231.226.104]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 39F56B964; Sat, 11 Jun 2016 16:49:24 -0400 (EDT) From: John Baldwin To: gdb-patches@sourceware.org, binutils@sourceware.org Subject: [PATCH 1/8] Use correct enum type for do_elf_stt_common. Date: Sat, 11 Jun 2016 13:48:28 -0700 Message-Id: <1465678115-58170-2-git-send-email-jhb@FreeBSD.org> In-Reply-To: <1465678115-58170-1-git-send-email-jhb@FreeBSD.org> References: <1465678115-58170-1-git-send-email-jhb@FreeBSD.org> X-IsSubscribed: yes binutils/ChangeLog: * objcopy.c (do_elf_stt_common): Use correct type. --- binutils/ChangeLog | 4 ++++ binutils/objcopy.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index f8e7c76..7a7edb9 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2016-06-11 John Baldwin + + * objcopy.c (do_elf_stt_common): Use correct type. + 2016-06-02 Nick Clifton PR 20089 diff --git a/binutils/objcopy.c b/binutils/objcopy.c index 06fcea3..76170cb 100644 --- a/binutils/objcopy.c +++ b/binutils/objcopy.c @@ -221,7 +221,7 @@ static enum } do_debug_sections = nothing; /* Whether to generate ELF common symbols with the STT_COMMON type. */ -static enum bfd_link_discard do_elf_stt_common = unchanged; +static enum bfd_link_elf_stt_common do_elf_stt_common = unchanged; /* Whether to change the leading character in symbol names. */ static bfd_boolean change_leading_char = FALSE;