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]

m88k cleanup


I hate rcs tags and branch merging.


r~



Wed Aug 25 15:35:55 1999  Richard Henderson  <rth@cygnus.com>

        * m88k.h (VERSION_INFO2): Kill.
        (VERSION_STRING): Kill.
        (TM_RCS_ID): Kill.
        (VERSION_INFO1): Tidy.
        (TARGET_VERSION): Update.
        * m88k/dgux.h (VERSION_INFO2): Kill.
        (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
        * m88k/luna.h (VERSION_INFO1): Tidy.
        * m88k/sysv4.h (VERSION_INFO1): Likewise.
        * m88k.c (out_rcs_id, tm_rcs_id): Kill.
        (output_file_start): Adjust for death of VERSION_STRING.

Index: dgux.h
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/config/m88k/dgux.h,v
retrieving revision 1.4
diff -c -p -d -r1.4 dgux.h
*** dgux.h	1998/12/16 21:08:12	1.4
--- dgux.h	1999/08/25 22:35:00
*************** Boston, MA 02111-1307, USA.  */
*** 29,37 ****
  #define PREFERRED_DEBUGGING_TYPE \
    (TARGET_SVR4 ? DWARF_DEBUG : SDB_DEBUG)
  
- #ifndef VERSION_INFO2
- #define VERSION_INFO2   "$Revision: 1.4 $"
- #endif
  #ifndef NO_BUGS
  #define AS_BUG_IMMEDIATE_LABEL
  /* The DG/UX 4.30 assembler doesn't accept the symbol `fcr63'.  */
--- 29,34 ----
*************** Boston, MA 02111-1307, USA.  */
*** 188,194 ****
      if (write_symbols != NO_DEBUG && !TARGET_NOLEGEND)			\
        {									\
  	fprintf (FILE, ";legend_info -fix-bb -h\"gcc-%s\" -s\"%s\"",	\
! 		 VERSION_STRING, main_input_filename);			\
  	fputs (flag_traditional ? " -lc" : " -lansi-c", FILE);		\
  	if (TARGET_STANDARD)						\
  	  fputs (" -keep-std", FILE);					\
--- 185,191 ----
      if (write_symbols != NO_DEBUG && !TARGET_NOLEGEND)			\
        {									\
  	fprintf (FILE, ";legend_info -fix-bb -h\"gcc-%s\" -s\"%s\"",	\
! 		 version_string, main_input_filename);			\
  	fputs (flag_traditional ? " -lc" : " -lansi-c", FILE);		\
  	if (TARGET_STANDARD)						\
  	  fputs (" -keep-std", FILE);					\
Index: luna.h
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/config/m88k/luna.h,v
retrieving revision 1.2
diff -c -p -d -r1.2 luna.h
*** luna.h	1998/12/16 21:08:18	1.2
--- luna.h	1999/08/25 22:35:00
*************** Boston, MA 02111-1307, USA.  */
*** 32,38 ****
  
  /* Identify the compiler.  */
  #undef  VERSION_INFO1
! #define VERSION_INFO1 "Omron Luna/88k, "
  
  /* Macros to be automatically defined.  */
  #undef	CPP_PREDEFINES
--- 32,38 ----
  
  /* Identify the compiler.  */
  #undef  VERSION_INFO1
! #define VERSION_INFO1 "Omron Luna/88k"
  
  /* Macros to be automatically defined.  */
  #undef	CPP_PREDEFINES
Index: m88k.c
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/config/m88k/m88k.c,v
retrieving revision 1.16
diff -c -p -d -r1.16 m88k.c
*** m88k.c	1999/08/09 14:00:06	1.16
--- m88k.c	1999/08/25 22:35:00
*************** extern char *ctime ();
*** 49,57 ****
  extern int flag_traditional;
  extern FILE *asm_out_file;
  
- static char out_rcs_id[] = "$What: <@(#) m88k.c,v	1.8> $";
- static char tm_rcs_id [] = TM_RCS_ID;
- 
  char *m88k_pound_sign = "";	/* Either # for SVR4 or empty for SVR3 */
  char *m88k_short_data;
  char *m88k_version;
--- 49,54 ----
*************** output_file_start (file, f_options, f_le
*** 1580,1586 ****
        time_t now = time ((time_t *)0);
        sprintf (indent, "]\"\n\t%s\t \"@(#)%s [", IDENT_ASM_OP, main_input_filename);
        fprintf (file, indent+3);
!       pos = fprintf (file, "gcc %s, %.24s,", VERSION_STRING, ctime (&now));
  #if 1
        /* ??? It would be nice to call print_switch_values here (and thereby
  	 let us delete output_options) but this is kept in until it is known
--- 1577,1583 ----
        time_t now = time ((time_t *)0);
        sprintf (indent, "]\"\n\t%s\t \"@(#)%s [", IDENT_ASM_OP, main_input_filename);
        fprintf (file, indent+3);
!       pos = fprintf (file, "gcc %s, %.24s,", version_string, ctime (&now));
  #if 1
        /* ??? It would be nice to call print_switch_values here (and thereby
  	 let us delete output_options) but this is kept in until it is known
Index: m88k.h
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/config/m88k/m88k.h,v
retrieving revision 1.16
diff -c -p -d -r1.16 m88k.h
*** m88k.h	1999/08/09 14:00:06	1.16
--- m88k.h	1999/08/25 22:35:00
*************** extern char * reg_names[];
*** 190,215 ****
     Redefined in sysv3.h, sysv4.h, dgux.h, and luna.h.  */
  #define CPP_PREDEFINES "-Dm88000 -Dm88k -Dunix -D__CLASSIFY_TYPE__=2"
  
! #define TARGET_VERSION fprintf (stderr, " (%s%s)", \
! 				VERSION_INFO1, VERSION_INFO2)
  
! /* Print subsidiary information on the compiler version in use.
!    Redefined in sysv4.h, and luna.h.  */
! #define VERSION_INFO1	"m88k, "
! #ifndef VERSION_INFO2
! #define VERSION_INFO2   "$Revision: 1.16 $"
  #endif
- 
- #ifndef VERSION_STRING
- #define VERSION_STRING  version_string
- #ifdef __STDC__
- #define TM_RCS_ID      "@(#)" __FILE__ " $Revision: 1.16 $ " __DATE__
- #else
- #define TM_RCS_ID      "$What: <@(#) m88k.h,v	1.1.1.2.2.2> $"
- #endif  /* __STDC__ */
- #else
- #define TM_RCS_ID      "@(#)" __FILE__ " " VERSION_INFO2 " " __DATE__
- #endif  /* VERSION_STRING */
  
  /* Run-time compilation parameters selecting different hardware subsets.  */
  
--- 190,200 ----
     Redefined in sysv3.h, sysv4.h, dgux.h, and luna.h.  */
  #define CPP_PREDEFINES "-Dm88000 -Dm88k -Dunix -D__CLASSIFY_TYPE__=2"
  
! #define TARGET_VERSION fprintf (stderr, " (%s)", VERSION_INFO1)
  
! #ifndef VERSION_INFO1
! #define VERSION_INFO1	"m88k"
  #endif
  
  /* Run-time compilation parameters selecting different hardware subsets.  */
  
Index: sysv4.h
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/config/m88k/sysv4.h,v
retrieving revision 1.2
diff -c -p -d -r1.2 sysv4.h
*** sysv4.h	1998/12/16 21:08:27	1.2
--- sysv4.h	1999/08/25 22:35:00
*************** Boston, MA 02111-1307, USA.  */
*** 38,44 ****
  
  /* Identify the compiler.  */
  #undef  VERSION_INFO1
! #define VERSION_INFO1 "88open ABI, "
  
  /* Default switches */
  #undef	TARGET_DEFAULT
--- 38,44 ----
  
  /* Identify the compiler.  */
  #undef  VERSION_INFO1
! #define VERSION_INFO1 "88open ABI"
  
  /* Default switches */
  #undef	TARGET_DEFAULT


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