From patchwork Thu Aug 24 07:39:47 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stewart Smith X-Patchwork-Id: 805298 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3xdGXP3dFkz9sRm for ; Thu, 24 Aug 2017 17:44:37 +1000 (AEST) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 3xdGXP2KxpzDrXg for ; Thu, 24 Aug 2017 17:44:37 +1000 (AEST) X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3xdGR51gqKzDrSf for ; Thu, 24 Aug 2017 17:40:01 +1000 (AEST) Received: from pps.filterd (m0098414.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id v7O7djFp039039 for ; Thu, 24 Aug 2017 03:39:58 -0400 Received: from e38.co.us.ibm.com (e38.co.us.ibm.com [32.97.110.159]) by mx0b-001b2d01.pphosted.com with ESMTP id 2chq9b7tb3-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Thu, 24 Aug 2017 03:39:58 -0400 Received: from localhost by e38.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 24 Aug 2017 01:39:57 -0600 Received: from b03cxnp08025.gho.boulder.ibm.com (9.17.130.17) by e38.co.us.ibm.com (192.168.1.138) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Thu, 24 Aug 2017 01:39:56 -0600 Received: from b03ledav004.gho.boulder.ibm.com (b03ledav004.gho.boulder.ibm.com [9.17.130.235]) by b03cxnp08025.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id v7O7dtRq63438886; Thu, 24 Aug 2017 00:39:56 -0700 Received: from b03ledav004.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 0C3F278037; Thu, 24 Aug 2017 01:39:56 -0600 (MDT) Received: from birb.localdomain (unknown [9.81.221.211]) by b03ledav004.gho.boulder.ibm.com (Postfix) with SMTP id 64FA578043; Thu, 24 Aug 2017 01:39:55 -0600 (MDT) Received: by birb.localdomain (Postfix, from userid 1000) id B1F40332AFC; Thu, 24 Aug 2017 17:39:49 +1000 (AEST) From: Stewart Smith To: skiboot@lists.ozlabs.org Date: Thu, 24 Aug 2017 17:39:47 +1000 X-Mailer: git-send-email 2.13.5 In-Reply-To: <20170824073948.29425-1-stewart@linux.vnet.ibm.com> References: <20170824073948.29425-1-stewart@linux.vnet.ibm.com> X-TM-AS-GCONF: 00 x-cbid: 17082407-0028-0000-0000-000008416D4D X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00007601; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000224; SDB=6.00906856; UDB=6.00454566; IPR=6.00687054; BA=6.00005551; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00016841; XFM=3.00000015; UTC=2017-08-24 07:39:57 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17082407-0029-0000-0000-000037461C10 Message-Id: <20170824073948.29425-6-stewart@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-08-24_03:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=1 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1707230000 definitions=main-1708240125 Subject: [Skiboot] [PATCH 5/6] gcov: support GCC 7.1+ X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Mailing list for skiboot development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" __gcov_exit() was added in GCC 7.1 Signed-off-by: Stewart Smith --- core/gcov-profiling.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/gcov-profiling.c b/core/gcov-profiling.c index cf8b5096b0b9..70707011f154 100644 --- a/core/gcov-profiling.c +++ b/core/gcov-profiling.c @@ -57,6 +57,7 @@ void __gcov_merge_single(gcov_type *counters, unsigned int n_counters) __attrcon void __gcov_merge_delta(gcov_type *counters, unsigned int n_counters) __attrconst; void __gcov_merge_ior(gcov_type *counters, unsigned int n_counters) __attrconst; void __gcov_merge_time_profile(gcov_type *counters, unsigned int n_counters) __attrconst; +void __gcov_exit(void) __attrconst; void __gcov_init(struct gcov_info* f) { @@ -130,3 +131,7 @@ void __gcov_merge_time_profile(gcov_type *counters, unsigned int n_counters) (void)counters; (void)n_counters; } + +void __gcov_exit(void) +{ +}