From patchwork Fri Jul 30 15:59:14 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anatoly Sokolov X-Patchwork-Id: 60365 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]) by ozlabs.org (Postfix) with SMTP id 16437B6EF1 for ; Sat, 31 Jul 2010 01:58:33 +1000 (EST) Received: (qmail 5996 invoked by alias); 30 Jul 2010 15:58:32 -0000 Received: (qmail 5988 invoked by uid 22791); 30 Jul 2010 15:58:31 -0000 X-SWARE-Spam-Status: No, hits=1.2 required=5.0 tests=AWL, BAYES_40, KAM_THEBAT, RCVD_IN_DNSWL_NONE, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from contrabass.post.ru (HELO contrabass.post.ru) (85.21.78.5) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 30 Jul 2010 15:58:25 +0000 Received: from corbina.ru (mail.post.ru [195.14.50.16]) by contrabass.post.ru (Postfix) with ESMTP id C04DD71A6; Fri, 30 Jul 2010 19:58:22 +0400 (MSD) Received: from [95.24.135.147] (account aesok@post.ru HELO Vista.corbina.ru) by corbina.ru (CommuniGate Pro SMTP 5.1.14) with ESMTPA id 239287339; Fri, 30 Jul 2010 19:58:22 +0400 Date: Fri, 30 Jul 2010 19:59:14 +0400 From: Anatoly Sokolov Message-ID: <140205655.20100730195914@post.ru> To: gcc-patches@gcc.gnu.org CC: uweigand@de.ibm.com Subject: [SPU] Remove ASM_OUTPUT_SOURCE_FILENAME MIME-Version: 1.0 X-IsSubscribed: yes 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 Hi. The ASM_OUTPUT_SOURCE_FILENAME macro in SPU back end implemented similarly to default implementation of the TARGET_ASM_OUTPUT_SOURCE_FILENAME target hook (default_asm_output_source_filename function in varasm.s) and may be safely removed. Untested. OK to install? * config/spu/spu.h (ASM_OUTPUT_SOURCE_FILENAME): Remove macro. Anatoly. Index: gcc/config/spu/spu.h =================================================================== --- gcc/config/spu/spu.h (revision 162715) +++ gcc/config/spu/spu.h (working copy) @@ -446,12 +446,6 @@ #define ASM_APP_OFF "" -#define ASM_OUTPUT_SOURCE_FILENAME(STREAM, NAME) \ - do { fprintf (STREAM, "\t.file\t"); \ - output_quoted_string (STREAM, NAME); \ - fprintf (STREAM, "\n"); \ - } while (0) - /* Uninitialized Data */ #define ASM_OUTPUT_COMMON(FILE, NAME, SIZE, ROUNDED) \