Patchwork [SPU] Remove ASM_OUTPUT_SOURCE_FILENAME

login
register
mail settings
Submitter Anatoly Sokolov
Date July 30, 2010, 3:59 p.m.
Message ID <140205655.20100730195914@post.ru>
Download mbox | patch
Permalink /patch/60365/
State New
Headers show

Comments

Anatoly Sokolov - July 30, 2010, 3:59 p.m.
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.
Richard Henderson - July 30, 2010, 4:02 p.m.
On 07/30/2010 08:59 AM, Anatoly Sokolov wrote:
>         * config/spu/spu.h (ASM_OUTPUT_SOURCE_FILENAME): Remove macro.

Ok.


r~

Patch

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)  \