summaryrefslogtreecommitdiffstats
path: root/libdw/dwarf_formref.c
diff options
context:
space:
mode:
authorRoland McGrath <[email protected]>2010-06-15 22:24:19 -0700
committerRoland McGrath <[email protected]>2010-06-15 22:24:19 -0700
commitb75f444e2a4a54436bea2fa21f022225b5d782e0 (patch)
tree9bc0677a26da999fc8adb515a35034780d59d9e7 /libdw/dwarf_formref.c
parent9bcd2657ab6a761e9b218a3b3ba578756b6f7a23 (diff)
Fix error diagnosis for dwarf_formref on DW_FORM_ref_sig8.
Diffstat (limited to 'libdw/dwarf_formref.c')
-rw-r--r--libdw/dwarf_formref.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libdw/dwarf_formref.c b/libdw/dwarf_formref.c
index b8463b70..e4d35ae8 100644
--- a/libdw/dwarf_formref.c
+++ b/libdw/dwarf_formref.c
@@ -1,5 +1,5 @@
/* Return reference offset represented by attribute.
- Copyright (C) 2003, 2005, 2007, 2008 Red Hat, Inc.
+ Copyright (C) 2003-2010 Red Hat, Inc.
This file is part of Red Hat elfutils.
Written by Ulrich Drepper <[email protected]>, 2003.
@@ -92,6 +92,7 @@ __libdw_formref (attr, return_offset)
break;
case DW_FORM_ref_addr:
+ case DW_FORM_ref_sig8:
__libdw_seterrno (DWARF_E_INVALID_REFERENCE);
return -1;