[SPU] Remove ASM_OUTPUT_SOURCE_FILENAME

Submitted by Anatoly Sokolov on July 30, 2010, 3:59 p.m.

Details

Message ID 140205655.20100730195914@post.ru
State New
Headers show

Commit Message

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.

Comments

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 hide | download patch | download mbox

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