merge from gcc
authorDJ Delorie <dj@redhat.com>
Mon, 6 Jun 2005 22:13:35 +0000 (22:13 +0000)
committerDJ Delorie <dj@redhat.com>
Mon, 6 Jun 2005 22:13:35 +0000 (22:13 +0000)
include/ChangeLog
include/libiberty.h

index 2c105aa..11ef1c8 100644 (file)
@@ -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.
index a9a75ea..4b0d532 100644 (file)
@@ -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 */