From patchwork Mon Jul 15 20:55:51 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Segher Boessenkool X-Patchwork-Id: 1132295 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-505109-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=kernel.crashing.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="k+JpYxTM"; 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 45nbRG2xfFz9sBt for ; Tue, 16 Jul 2019 06:56:03 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id; q=dns; s=default; b=SBnJRVtootxV nlzkbl6JpeJ3ndBde2zVaoyx/IV950xeibyxN8DSb5VCGI0YbGZsZ9gvqtYBvzvl ljXF8IyFYJKeAygOwjHe8AfGGNMIKR78bRI0DY8JGtZwONwvyBbT2b4Rdso52mIg zBsvGK6ObPKoVd6+SHHwdfCUFevnVgY= 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:from :to:cc:subject:date:message-id; s=default; bh=sSJtDvuo1b3l9mU0Vc Vv7uTYlbQ=; b=k+JpYxTMDRCK9BEL9XNdOXUr3meYWClCebdLxYeXTTup3ZG/C9 PmRM0c+BfrpnzPuUlvGoVKWtFXPl8FTISMEuT+NoIm3OcskOhXc2nsPvMGh3cfyo uvr4pwA3comLjkjoCvZ6En9QC2qRumT+/hyvRxVCpRXTmMmMVMPAVfe5U= Received: (qmail 25838 invoked by alias); 15 Jul 2019 20:55: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 25830 invoked by uid 89); 15 Jul 2019 20:55:55 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-17.2 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3 autolearn=ham version=3.3.1 spammy=HX-Languages-Length:884 X-HELO: gcc1-power7.osuosl.org Received: from gcc1-power7.osuosl.org (HELO gcc1-power7.osuosl.org) (140.211.15.137) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 15 Jul 2019 20:55:54 +0000 Received: by gcc1-power7.osuosl.org (Postfix, from userid 10019) id 082C11240640; Mon, 15 Jul 2019 20:55:52 +0000 (UTC) From: Segher Boessenkool To: gcc-patches@gcc.gnu.org Cc: dje.gcc@gmail.com, Segher Boessenkool Subject: [PATCH] rs6000: Always output .machine Date: Mon, 15 Jul 2019 20:55:51 +0000 Message-Id: <07449f9c9b29d3f2f9a256b59fca1b2d0761aceb.1562533240.git.segher@kernel.crashing.org> X-IsSubscribed: yes We now can always output .machine (if we output it at all for the current target). Committing to trunk. Segher 2019-07-15 Segher Boessenkool PR target/91050 * config/rs6000/rs6000.c (rs6000_file_start): Never skip emitting a .machine directive. --- gcc/config/rs6000/rs6000.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index f59f3a9..681acdf 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -5640,9 +5640,7 @@ rs6000_file_start (void) #ifdef USING_ELFOS_H rs6000_machine = rs6000_machine_from_flags (); - if (!(rs6000_default_cpu && rs6000_default_cpu[0]) - && !global_options_set.x_rs6000_cpu_index) - emit_asm_machine (); + emit_asm_machine (); #endif if (DEFAULT_ABI == ABI_ELFv2)