aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2005-06-06 22:13:35 +0000
committerDJ Delorie <dj@redhat.com>2005-06-06 22:13:35 +0000
commitd30d42d114f42a348880adba875a3c278293a89a (patch)
treef603dd0f739bb5eaa89b3c5cb1e595d158c52e23
parentc10e9ba77d822ef6d87579541ec9510e793da0a4 (diff)
downloadgdb-d30d42d114f42a348880adba875a3c278293a89a.zip
gdb-d30d42d114f42a348880adba875a3c278293a89a.tar.gz
gdb-d30d42d114f42a348880adba875a3c278293a89a.tar.bz2
merge from gcc
-rw-r--r--include/ChangeLog4
-rw-r--r--include/libiberty.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 2c105aa..11ef1c8 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,7 @@
+2005-06-06 Gabriel Dos Reis <gdr@integrable-solutions.net>
+
+ * libiberty.h (XOBFINISH): New.
+
2005-06-03 Alan Modra <amodra@bigpond.net.au>
* bfdlink.h (struct bfd_link_callbacks): Add einfo.
diff --git a/include/libiberty.h b/include/libiberty.h
index a9a75ea..4b0d532 100644
--- a/include/libiberty.h
+++ b/include/libiberty.h
@@ -326,7 +326,7 @@ extern double physmem_available (void);
/* Type-safe obstack allocator. */
#define XOBNEW(O, T) ((T *) obstack_alloc ((O), sizeof (T)))
-
+#define XOBFINISH(O, T) ((T) obstack_finish ((O)))
/* hex character manipulation routines */