Version 0.148:
+libdw: Accept DWARF 4 format.
+
libdwfl: Fixes in core-file handling, support cores from PIEs.
When working from build IDs, don't open a named file that mismatches.
+2010-06-01 Roland McGrath <roland@redhat.com>
+
+ * libdw_findcu.c (__libdw_findcu): Accept version 4.
+
2010-05-31 Mark Wielaard <mjw@redhat.com>
* cfi.h (dwarf_cfi_cie_p): Move definition from here, to ..
/* Find CU for given offset.
- Copyright (C) 2003, 2004, 2005, 2007 Red Hat, Inc.
+ Copyright (C) 2003-2010 Red Hat, Inc.
This file is part of Red Hat elfutils.
Written by Ulrich Drepper <drepper@redhat.com>, 2003.
+ (2 * offset_size - 4));
uint16_t version = read_2ubyte_unaligned (dbg, bytes);
- /* We only know how to handle the DWARF version 2 and 3 formats. */
- if (unlikely (version != 2) && unlikely (version != 3))
+ /* We only know how to handle the DWARF version 2 through 4 formats. */
+ if (unlikely (version < 2) || unlikely (version > 4))
goto invalid;
/* Create an entry for this CU. */