From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 84243 invoked by alias); 1 Jun 2018 07:59:51 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 84052 invoked by uid 89); 1 Jun 2018 07:59:45 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,KAM_NUMSUBJECT,SPF_HELO_PASS autolearn=no version=3.3.2 spammy= X-Spam-User: qpsmtpd, 2 recipients X-HELO: mx1.redhat.com Received: from mx3-rdu2.redhat.com (HELO mx1.redhat.com) (66.187.233.73) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 01 Jun 2018 07:59:44 +0000 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 6D2B4401EF1B; Fri, 1 Jun 2018 07:59:43 +0000 (UTC) Received: from [10.36.117.74] (ovpn-117-74.ams2.redhat.com [10.36.117.74]) by smtp.corp.redhat.com (Postfix) with ESMTPS id E52BF2166BB6; Fri, 1 Jun 2018 07:59:42 +0000 (UTC) Subject: Re: [PATCH 3/3] Use DIAGNOSTIC_IGNORE_STRINGOP_TRUNCATION to silence GCC 8 To: "H.J. Lu" , binutils@sourceware.org Cc: gdb-patches@sourceware.org References: <20180521121557.16535-1-hjl.tools@gmail.com> <20180521121557.16535-3-hjl.tools@gmail.com> From: Nick Clifton Openpgp: preference=signencrypt Message-ID: Date: Fri, 01 Jun 2018 07:59:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180521121557.16535-3-hjl.tools@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-SW-Source: 2018-06/txt/msg00003.txt.bz2 Hi H.J. > PR binutils/23146 > * bfd-in.h: Include "diagnostics.h". > * bfd-in2.h: Regenerated. > * elf32-arm.c (elf32_arm_nabi_write_core_note): Use > DIAGNOSTIC_PUSH, DIAGNOSTIC_IGNORE_STRINGOP_TRUNCATION and > DIAGNOSTIC_POP to silence GCC 8 warnings with > -Wstringop-truncation. > * elf32-ppc.c (ppc_elf_write_core_note): Likewse. > * elf32-s390.c (elf_s390_write_core_note): Likewse. > * elf64-ppc.c (ppc64_elf_write_core_note): Likewse. > * elf64-s390.c (elf_s390_write_core_note): Likewse. > * elfxx-aarch64.c (_bfd_aarch64_elf_write_core_note): Likewse. Approved - please apply. Cheers Nick