From patchwork Fri Jul 30 15:59:14 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [SPU] Remove ASM_OUTPUT_SOURCE_FILENAME Date: Fri, 30 Jul 2010 05:59:14 -0000 From: Anatoly Sokolov X-Patchwork-Id: 60365 Message-Id: <140205655.20100730195914@post.ru> To: gcc-patches@gcc.gnu.org Cc: uweigand@de.ibm.com 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) \