summaryrefslogtreecommitdiff
path: root/libdw/dwarf_getsrclines.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2008-01-18 20:08:54 +0000
committerUlrich Drepper <drepper@redhat.com>2008-01-18 20:08:54 +0000
commitb27ce0029031cec586ccd6b8ba1e26d3bccbcad9 (patch)
tree520f62ae91da9bce1f15cde464ba76af70d0685e /libdw/dwarf_getsrclines.c
parentc57b65cf3b1a7a19b25fdac91e83c514fd93e565 (diff)
downloadelfutils-b27ce0029031cec586ccd6b8ba1e26d3bccbcad9.tar.gz
Fixup after DWARF_VERSION bump.
Diffstat (limited to 'libdw/dwarf_getsrclines.c')
-rw-r--r--libdw/dwarf_getsrclines.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdw/dwarf_getsrclines.c b/libdw/dwarf_getsrclines.c
index e4ec267f..9ad6963d 100644
--- a/libdw/dwarf_getsrclines.c
+++ b/libdw/dwarf_getsrclines.c
@@ -180,7 +180,7 @@ dwarf_getsrclines (Dwarf_Die *cudie, Dwarf_Lines **lines, size_t *nlines)
/* The next element of the header is the version identifier. */
uint_fast16_t version = read_2ubyte_unaligned_inc (dbg, linep);
- if (unlikely (version != DWARF_VERSION))
+ if (unlikely (version > DWARF_VERSION))
{
__libdw_seterrno (DWARF_E_VERSION);
goto out;