From patchwork Fri Dec 28 14:34:52 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H.J. Lu" X-Patchwork-Id: 1019182 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-493157-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="v6DF9LVC"; dkim-atps=neutral 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 43R8PR27S5z9s7h for ; Sat, 29 Dec 2018 01:35:04 +1100 (AEDT) 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:message-id:reply-to:mime-version :content-type; q=dns; s=default; b=BrOEqMuAkwgA8mJYI8Si41VD8Q2Ny cV7Nh6tpFfcDV4fvsH5Xs8WyrBijCqI9qu8gbRoXl5ZH/dHB2wWd2t7iYYZvrX/Z SSYpnzLMqYaT3/6bjPumPUxzLrXq1UrKFZAWYEzMY/0aCjYUOUEXNhxflIysJQgj +Kruq+d0wCjy0M= 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:message-id:reply-to:mime-version :content-type; s=default; bh=jkZqvuZOZQ29WeLx7XUdYcMimq4=; b=v6D F9LVCPbqa3mcrv/tkHfD1t1UWVdJroMuwEQCr+WnN6jisj3jUC+HscIe75PJvbea zu28DTWYD8Uh5rcVGaGwl+bYLO4JwVXlkoHtkU0cxheiU/BtAtcgCoWkB/ZiVfAU ZaSMg6VEOwETo1kRyqPtOP3J9L5QUMuYxAZnggJo= Received: (qmail 74698 invoked by alias); 28 Dec 2018 14:34:55 -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 74673 invoked by uid 89); 28 Dec 2018 14:34:55 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-25.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_LAZY_DOMAIN_SECURITY, NO_DNS_FOR_FROM autolearn=ham version=3.3.2 spammy= X-HELO: mga06.intel.com Received: from mga06.intel.com (HELO mga06.intel.com) (134.134.136.31) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 28 Dec 2018 14:34:54 +0000 Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Dec 2018 06:34:52 -0800 Received: from gnu-cfl-1.sc.intel.com ([172.25.70.237]) by FMSMGA003.fm.intel.com with ESMTP; 28 Dec 2018 06:34:52 -0800 Received: by gnu-cfl-1.sc.intel.com (Postfix, from userid 1000) id 07DCC1800BC; Fri, 28 Dec 2018 06:34:52 -0800 (PST) Date: Fri, 28 Dec 2018 06:34:52 -0800 From: "H.J. Lu" To: gcc-patches@gcc.gnu.org Cc: Uros Bizjak Subject: [PATCH] x86-64: Remove .file directive from snapshot source Message-ID: <20181228143451.GA8483@intel.com> Reply-To: "H.J. Lu" MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) Since snapshot() is implemented in assembly code, .file directive should be removed. Otherwise, debugger can't find the snapshot source. I am checking it in as an obvious fix. H.J. ---- * gcc.target/x86_64/abi/asm-support-darwin.s: Remove .file directive. * gcc.target/x86_64/abi/asm-support.S: Likewise. --- gcc/testsuite/gcc.target/x86_64/abi/asm-support-darwin.s | 1 - gcc/testsuite/gcc.target/x86_64/abi/asm-support.S | 1 - 2 files changed, 2 deletions(-) diff --git a/gcc/testsuite/gcc.target/x86_64/abi/asm-support-darwin.s b/gcc/testsuite/gcc.target/x86_64/abi/asm-support-darwin.s index b3b88466a62..8fe5dab5416 100644 --- a/gcc/testsuite/gcc.target/x86_64/abi/asm-support-darwin.s +++ b/gcc/testsuite/gcc.target/x86_64/abi/asm-support-darwin.s @@ -1,4 +1,3 @@ - .file "snapshot.S" .text .p2align 4,,15 .globl _snapshot diff --git a/gcc/testsuite/gcc.target/x86_64/abi/asm-support.S b/gcc/testsuite/gcc.target/x86_64/abi/asm-support.S index 8e0bffe8b49..7a8ed03d119 100644 --- a/gcc/testsuite/gcc.target/x86_64/abi/asm-support.S +++ b/gcc/testsuite/gcc.target/x86_64/abi/asm-support.S @@ -1,4 +1,3 @@ - .file "snapshot.S" #ifdef __AVX__ .sse_check none #endif