This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[SPU] Remove ASM_OUTPUT_SOURCE_FILENAME


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.

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


Anatoly.




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]