head	1.4;
access;
symbols
	RELEASE_5_4_0:1.3
	RELEASE_4_11_0:1.3
	RELEASE_5_3_0:1.3
	RELEASE_4_10_0:1.3
	RELEASE_5_2_1:1.3
	RELEASE_5_2_0:1.3
	RELEASE_4_9_0:1.3
	RELEASE_5_1_0:1.3
	RELEASE_4_8_0:1.3
	RELEASE_5_0_0:1.3
	RELEASE_4_7_0:1.3
	RELEASE_4_6_2:1.3
	RELEASE_4_6_1:1.3
	RELEASE_4_6_0:1.3
	RELEASE_5_0_DP1:1.3
	old_egcs_20020128:1.3
	old_RELEASE_4_5_0:1.2
	old_RELEASE_4_4_0:1.2
	old_egcs_20010430:1.2
	old_RELEASE_4_3_0:1.2
	old_egcs_20010205:1.2
	old_egcs_20001225:1.2
	old_egcs_20001218:1.2
	old_egcs_20001211:1.2
	old_egcs_20001120:1.2
	old_RELEASE_4_2_0:1.2
	old_egcs_20001002:1.2
	old_RELEASE_4_1_1:1.2
	old_egcs_20000828:1.2
	old_egcs_20000717:1.2
	old_egcs_20000501:1.1
	old_RELEASE_4_1_0:1.1
	old_RELEASE_3_5_0:1.1
	old_egcs_20000313:1.1
	old_RELEASE_4_0_0:1.1
	old_egcs_20000306:1.1
	old_egcs_20000221:1.1
	old_egcs_20000207:1.1
	old_RELEASE_3_4_0:1.1
	old_egcs_991102:1.1
	old_egcs_991110:1.1
	old_egcs_991025:1.1
	old_egcs_990920:1.1
	old_RELEASE_3_3_0:1.1
	old_egcs_990629:1.1
	old_egcs_990718:1.1
	old_egcs_990712:1.1
	old_egcs_990616:1.1
	old_egcs_990623:1.1
	old_egcs_990524:1.1
	old_RELEASE_3_2_0:1.1
	old_egcs_990418:1.1
	old_egcs_1_1_2:1.1
	old_RELEASE_3_1_0:1.1
	old_egcs_1_1_1:1.1
	old_RELEASE_2_2_8:1.1
	old_RELEASE_3_0_0:1.1;
locks; strict;
comment	@# @;


1.4
date	2005.07.31.13.34.35;	author gerald;	state dead;
branches;
next	1.3;

1.3
date	2002.02.03.07.15.30;	author obrien;	state Exp;
branches;
next	1.2;

1.2
date	2000.09.05.16.59.10;	author obrien;	state Exp;
branches;
next	1.1;

1.1
date	98.10.08.21.33.02;	author jdp;	state Exp;
branches;
next	;


desc
@@


1.4
log
@Remove the lang/gcc31 port.  It fails to build on several architectures
(even ones it is supposed to work on, cf. pointyhat), it fails to build
on FreeBSD 6 and 7, and lang/gcc32 is basically the same plus a single
ABI changes and many bug fixes.

It is strongly recommended to migrate to GCC 3.4 or 4.0, since only these
are still actively maintained upstream and support FreeBSD 7, for example.
@
text
@--- gcc/final.c.orig	Thu Jan  3 09:39:59 2002
+++ gcc/final.c	Sat Feb  2 19:20:09 2002
@@@@ -295,6 +295,8 @@@@
       /* Zero word.  */
       assemble_integer (const0_rtx, long_bytes, align2, 1);
 
+      fprintf(asm_out_file,".stabs \"bbset\", 25, 0, 0, LPBX0\n");
+
       /* Address of filename.  */
       ASM_GENERATE_INTERNAL_LABEL (name, "LPBX", 1);
       assemble_integer (gen_rtx_SYMBOL_REF (Pmode, name), pointer_bytes,
@@@@ -1524,6 +1526,11 @@@@
     leaf_renumber_regs (first);
 #endif
 
+/*
+  if (profile_block_flag)
+    add_bb (file);
+*/
+
   /* The Sun386i and perhaps other machines don't work right
      if the profiling code comes after the prologue.  */
 #ifdef PROFILE_BEFORE_PROLOGUE
@@@@ -1668,6 +1675,11 @@@@
   /* Finally, output the function epilogue:
      code to restore the stack frame and return to the caller.  */
   (*targetm.asm_out.function_epilogue) (asm_out_file, get_frame_size ());
+
+/*
+  if (profile_block_flag)
+    add_bb (asm_out_file);
+*/
 
   /* And debug output.  */
   (*debug_hooks->end_epilogue) ();
@


1.3
log
@Upgrade to the 28-Jan-2002 GCC 3.1 development snapshot.
@
text
@@


1.2
log
@Upgrade to the 2000-07-17 GCC 2.96 development snapshot.
@
text
@d1 5
a5 5
--- gcc/final.c.orig	Sat Sep  5 22:52:01 1998
+++ gcc/final.c	Wed Oct  7 17:06:58 1998
@@@@ -383,6 +383,8 @@@@
       /* zero word */
       assemble_integer (const0_rtx, long_bytes, 1);
d9 1
a9 1
       /* address of filename */
d11 2
a12 2
       assemble_integer (gen_rtx_SYMBOL_REF (Pmode, name), pointer_bytes, 1);
@@@@ -1635,6 +1637,9 @@@@
d16 1
d19 1
d24 2
a25 1
@@@@ -1800,6 +1809,9 @@@@
d27 1
a27 2
   FUNCTION_EPILOGUE (file, get_frame_size ());
 #endif
d29 1
d31 2
a32 1
+    add_bb (file);
d34 2
a35 2
 #ifdef SDB_DEBUGGING_INFO
   if (write_symbols == SDB_DEBUG)
@


1.1
log
@Make profiling work.
@
text
@a21 23
@@@@ -1696,7 +1701,9 @@@@
 profile_function (file)
      FILE *file;
 {
+#ifndef NO_PROFILE_DATA
   int align = MIN (BIGGEST_ALIGNMENT, LONG_TYPE_SIZE);
+#endif /* not NO_PROFILE_DATA */
 #if defined(ASM_OUTPUT_REG_PUSH)
 #if defined(STRUCT_VALUE_INCOMING_REGNUM) || defined(STRUCT_VALUE_REGNUM)
   int sval = current_function_returns_struct;
@@@@ -1706,10 +1713,12 @@@@
 #endif
 #endif /* ASM_OUTPUT_REG_PUSH */
 
+#ifndef NO_PROFILE_DATA
   data_section ();
   ASM_OUTPUT_ALIGN (file, floor_log2 (align / BITS_PER_UNIT));
   ASM_OUTPUT_INTERNAL_LABEL (file, "LP", profile_label_no);
   assemble_integer (const0_rtx, LONG_TYPE_SIZE / BITS_PER_UNIT, 1);
+#endif /* not NO_PROFILE_DATA */
 
   function_section (current_function_decl);
 
@

