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]

Patch to mask the ownership message in disassembly listing.


Hi, 
Please find the patch to remove the ownership message in the machine generated disassembly for GNUH8 gcc.  I have now commented the message and moved it to the top in file h8300.c

This patch also removes  ".file <filename>"  which was getting reprinted in the disassembly file twice before and after the comment "; By Hitachi.....".

I have attached as well as inlined the changelog and diff files. 

Regards,
Rohit

Gcc Changelog - 

2003-05-02  Rohit Kumar Srivastava <rohits@kpitcummins.com>

        * config/h8300/h8300.c : Removed headers from the machine generated
        disassembly.

----------------------------------------------------------------------------------------------
diff -u ./gcc-20030324/gcc/config/h8300/h8300.c.original ./gcc-20030324/gcc/config/h8300/h8300.c
--- ./gcc-20030324/gcc/config/h8300/h8300.c.original	Wed Apr  9 10:47:38 2003
+++ ./gcc-20030324/gcc/config/h8300/h8300.c	Tue Apr 15 16:13:04 2003
@@ -4,6 +4,9 @@
    Contributed by Steve Chamberlain (sac@cygnus.com),
    Jim Wilson (wilson@cygnus.com), and Doug Evans (dje@cygnus.com).
 
+GCC For the Renesas H8/300
+Originally developed by Hitachi America Ltd. with Cygnus Support
+
 This file is part of GNU CC.
 
 GNU CC is free software; you can redistribute it and/or modify
@@ -21,6 +24,7 @@
 the Free Software Foundation, 59 Temple Place - Suite 330,
 Boston, MA 02111-1307, USA.  */
 
+
 #include "config.h"
 #include "system.h"
 #include "rtl.h"
@@ -684,9 +688,6 @@
 asm_file_start (file)
      FILE *file;
 {
-  fprintf (file, ";\tGCC For the Hitachi H8/300\n");
-  fprintf (file, ";\tBy Hitachi America Ltd and Cygnus Support\n");
-
   if (optimize_size)
     fprintf (file, "; -Os\n");
   else if (optimize)
@@ -702,8 +703,7 @@
     else
       fprintf (file, "\n\t.h8300s\n");
   else
-    fprintf (file, "\n\n");
-  output_file_directive (file, main_input_filename);
+    fprintf (file, "\n");
 }
 
 /* Output assembly language code for the end of file.  */
----------------------------------------------------------------------------------------------





----------------------------------------------------------------------------------------------
Free download of GNUSH and GNUH8 tool chains for Renesas' SH and H8 Series.
The following site also offers free support to European customers.
Read more at http://www.gnush.com/ and http://www.gnuh8.com/
Latest versions of GNUSH and GNUH8 are released on April 8, 2003.
----------------------------------------------------------------------------------------------

Attachment: gcc.patch
Description: gcc.patch

Attachment: gcc.Changelog
Description: gcc.Changelog


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