freebsd-ports/lang/egcs/files/patch-dbxout.c
David E. O'Brien 9edbb8400e Add all of the FreeBSD hacks I had in the base EGCS-1.1.2 compiler way
back when... that is all but a.out support.
2000-12-04 22:07:01 +00:00

27 lines
692 B
C

--- gcc/dbxout.c.orig 1999/08/26 09:26:57 1.1.1.2
+++ gcc/dbxout.c 1999/08/28 07:19:03 1.3
@@ -2685,7 +2685,12 @@
{
#ifdef DBX_FUNCTION_FIRST
dbxout_really_begin_function (decl);
+#else
+#ifdef DBX_CHECK_FUNCTION_FIRST
+ if (DBX_CHECK_FUNCTION_FIRST)
+ dbxout_really_begin_function (decl);
#endif
+#endif
}
/* Output dbx data for a function definition.
@@ -2700,6 +2705,11 @@
{
#ifndef DBX_FUNCTION_FIRST
dbxout_really_begin_function (decl);
+#else
+#ifdef DBX_CHECK_FUNCTION_FIRST
+ if (!(DBX_CHECK_FUNCTION_FIRST))
+ dbxout_really_begin_function (decl);
+#endif
#endif
dbxout_block (DECL_INITIAL (decl), 0, DECL_ARGUMENTS (decl));
#ifdef DBX_OUTPUT_FUNCTION_END