From patchwork Thu Feb 9 18:16:57 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dominik Vogt X-Patchwork-Id: 726284 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3vK5sS4nDVz9s7H for ; Fri, 10 Feb 2017 05:17:46 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="Axkfs6hA"; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:cc:subject:reply-to:mime-version:content-type :message-id; q=dns; s=default; b=U79tBUxs+sef9XYgqLaCRTr8M5eVAIQ /1t6MDwJjaSG62DwvuV0Fia8s1p3O0WMEvrHNBZN8zejSiGNG36hqi2qIQnmQ9KZ 52tB6LbowENlGcC1M+R++QAS9HJ64wFok1SnhgRq9L0HEPNVJPQF9VwYAlTo3Gna aw3Imb/XCH5g= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:cc:subject:reply-to:mime-version:content-type :message-id; s=default; bh=Gwuk24yMEj3MvmUfCFYIFoPALxY=; b=Axkfs 6hAbaJu7QO/izcT3IIE7xvHHUhMi+5v9SeGF6Os/GdZYRvIW5RwSZSSoOyTzuUHk o0A0zKGKS6e9H9RGFH94AH3M5xfWIsUibAPDTKLNuIna21xZmsRZustqUUktK6GN 93TWv4kUdAzA7TLA+WvioOf2q8jUrFr0MJAviI= Received: (qmail 45558 invoked by alias); 9 Feb 2017 18:17:08 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 45490 invoked by uid 89); 9 Feb 2017 18:17:07 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL, BAYES_00, KAM_LAZY_DOMAIN_SECURITY, RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=sk:s390_un, sk:s390_tr X-HELO: mx0a-001b2d01.pphosted.com Received: from mx0b-001b2d01.pphosted.com (HELO mx0a-001b2d01.pphosted.com) (148.163.158.5) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 09 Feb 2017 18:17:04 +0000 Received: from pps.filterd (m0098421.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.20/8.16.0.20) with SMTP id v19IEwWI013468 for ; Thu, 9 Feb 2017 13:17:02 -0500 Received: from e06smtp07.uk.ibm.com (e06smtp07.uk.ibm.com [195.75.94.103]) by mx0a-001b2d01.pphosted.com with ESMTP id 28g8kh42vf-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Thu, 09 Feb 2017 13:17:02 -0500 Received: from localhost by e06smtp07.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 9 Feb 2017 18:17:01 -0000 Received: from d06dlp02.portsmouth.uk.ibm.com (9.149.20.14) by e06smtp07.uk.ibm.com (192.168.101.137) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Thu, 9 Feb 2017 18:16:58 -0000 Received: from b06cxnps3075.portsmouth.uk.ibm.com (d06relay10.portsmouth.uk.ibm.com [9.149.109.195]) by d06dlp02.portsmouth.uk.ibm.com (Postfix) with ESMTP id DDB6C2190023 for ; Thu, 9 Feb 2017 18:16:01 +0000 (GMT) Received: from d06av24.portsmouth.uk.ibm.com (d06av24.portsmouth.uk.ibm.com [9.149.105.60]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id v19IGwNr17498400; Thu, 9 Feb 2017 18:16:58 GMT Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 954A142047; Thu, 9 Feb 2017 18:16:53 +0000 (GMT) Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 5EB334203F; Thu, 9 Feb 2017 18:16:53 +0000 (GMT) Received: from oc5510024614.ibm.com (unknown [9.145.9.41]) by d06av24.portsmouth.uk.ibm.com (Postfix) with ESMTP; Thu, 9 Feb 2017 18:16:53 +0000 (GMT) Received: by oc5510024614.ibm.com (Postfix, from userid 500) id 129EF1AAC5; Thu, 9 Feb 2017 19:16:57 +0100 (CET) Date: Thu, 9 Feb 2017 19:16:57 +0100 From: Dominik Vogt To: gcc-patches@gcc.gnu.org Cc: Andreas Krebbel Subject: [PATCH] PR target/79241: S/390: define TARGET_CUSTOM_FUNCTION_DESCRIPTORS. Reply-To: vogt@linux.vnet.ibm.com Mail-Followup-To: vogt@linux.vnet.ibm.com, gcc-patches@gcc.gnu.org, Andreas Krebbel MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-12-10) X-TM-AS-GCONF: 00 X-Content-Scanned: Fidelis XPS MAILER x-cbid: 17020918-0028-0000-0000-000002A797D0 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17020918-0029-0000-0000-0000225307EF Message-Id: <20170209181657.GA2279@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-02-09_11:, , 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-1612050000 definitions=main-1702090162 The attached patch fixes PR 79241 on s390x. Bootstrapped and regression tested on s390x biarch (not tested on s390). https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79421 Ciao Dominik ^_^ ^_^ diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c index 9c4e641..434da60 100644 --- a/gcc/config/s390/s390.c +++ b/gcc/config/s390/s390.c @@ -15632,6 +15632,10 @@ s390_asan_shadow_offset (void) #undef TARGET_TRAMPOLINE_INIT #define TARGET_TRAMPOLINE_INIT s390_trampoline_init +/* PR 79421 */ +#undef TARGET_CUSTOM_FUNCTION_DESCRIPTORS +#define TARGET_CUSTOM_FUNCTION_DESCRIPTORS 1 + #undef TARGET_UNWIND_WORD_MODE #define TARGET_UNWIND_WORD_MODE s390_unwind_word_mode