summaryrefslogtreecommitdiffstats
path: root/libdw/libdwP.h
diff options
context:
space:
mode:
authorMark Wielaard <[email protected]>2011-02-24 16:00:17 +0100
committerMark Wielaard <[email protected]>2011-02-24 16:36:31 +0100
commit9ee5559ff57d5566f533d3d77e58988aad2da71d (patch)
tree174cad0d7c51799130f96f482f9a0051255a0704 /libdw/libdwP.h
parentd92fb224eb7439e3170d4d37b3d8bffab6f7f2c1 (diff)
parent725aad5d2f8b78ed21a5e253fb38f9722c2c8b2d (diff)
Merge branch 'master' into mjw/dwarf_output
Conflicts: libdw/ChangeLog src/readelf.c
Diffstat (limited to 'libdw/libdwP.h')
-rw-r--r--libdw/libdwP.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/libdw/libdwP.h b/libdw/libdwP.h
index 8d49f501..a58d0665 100644
--- a/libdw/libdwP.h
+++ b/libdw/libdwP.h
@@ -1,5 +1,5 @@
/* Internal definitions for libdwarf.
- Copyright (C) 2002-2010 Red Hat, Inc.
+ Copyright (C) 2002-2011 Red Hat, Inc.
This file is part of Red Hat elfutils.
Written by Ulrich Drepper <[email protected]>, 2002.
@@ -150,6 +150,11 @@ struct Dwarf
/* The section data. */
Elf_Data *sectiondata[IDX_last];
+#if USE_ZLIB
+ /* The 1 << N bit is set if sectiondata[N] is malloc'd decompressed data. */
+ unsigned int sectiondata_gzip_mask:IDX_last;
+#endif
+
/* True if the file has a byte order different from the host. */
bool other_byte_order;
@@ -390,6 +395,12 @@ extern void *__libdw_allocate (Dwarf *dbg, size_t minsize, size_t align)
/* Default OOM handler. */
extern void __libdw_oom (void) __attribute ((noreturn, visibility ("hidden")));
+#if USE_ZLIB
+extern void __libdw_free_zdata (Dwarf *dwarf) internal_function;
+#else
+# define __libdw_free_zdata(dwarf) ((void) (dwarf))
+#endif
+
/* Allocate the internal data for a unit not seen before. */
extern struct Dwarf_CU *__libdw_intern_next_unit (Dwarf *dbg, bool debug_types)
__nonnull_attribute__ (1) internal_function;