summaryrefslogtreecommitdiff
path: root/lang/gcc27/files/patch-dbxout.c
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2000-03-22 19:10:42 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2000-03-22 19:10:42 +0000
commit910033a07677949c4e92a8848f5f15b8cde63a0b (patch)
tree45b411beaffa330eddbe13d6e002c0fb1afe6ec9 /lang/gcc27/files/patch-dbxout.c
parentFix the URL in one of the MASTER_SITES. (diff)
Port of the GCC 2.7.2.3 that was the base compiler in FreeBSD 2.2.x thru 3.x.
Notes
Notes: svn path=/head/; revision=26961
Diffstat (limited to 'lang/gcc27/files/patch-dbxout.c')
-rw-r--r--lang/gcc27/files/patch-dbxout.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/lang/gcc27/files/patch-dbxout.c b/lang/gcc27/files/patch-dbxout.c
new file mode 100644
index 000000000000..f953388faf19
--- /dev/null
+++ b/lang/gcc27/files/patch-dbxout.c
@@ -0,0 +1,26 @@
+--- dbxout.c.orig Thu Jun 15 04:27:10 1995
++++ dbxout.c Mon Mar 20 13:29:11 2000
+@@ -2494,6 +2494,11 @@
+ {
+ #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
+ }
+
+@@ -2509,6 +2514,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