diff options
author | Roland McGrath <roland@redhat.com> | 2009-10-05 17:36:43 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2009-10-05 17:36:43 +0000 |
commit | fcaf740c16004e36e5bdb7152ae49d25805d9dea (patch) | |
tree | 82367c77356c38df5ed8fb6f51bcd66e9f3bbd30 /elfutils/libdw/dwarf_bitoffset.c | |
parent | 5a4cef9b6c2899944308fdb8f78559fc0df766cc (diff) | |
download | elfutils-196fbacf6ba3d672b7b9c93261503eaeebcee3c1.tar.gz |
0.143-10.143-1
- Update to 0.143
- libdw: Various convenience functions for individual attributes now use
dwarf_attr_integrate to look up indirect inherited attributes.
Location expression handling now supports DW_OP_implicit_value.
- libdwfl: Support automatic decompression of files in XZ format,
and of Linux kernel images made with bzip2 or LZMA
(as well as gzip).
Diffstat (limited to 'elfutils/libdw/dwarf_bitoffset.c')
-rw-r--r-- | elfutils/libdw/dwarf_bitoffset.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/elfutils/libdw/dwarf_bitoffset.c b/elfutils/libdw/dwarf_bitoffset.c index 235b7ee6..3ab14683 100644 --- a/elfutils/libdw/dwarf_bitoffset.c +++ b/elfutils/libdw/dwarf_bitoffset.c @@ -1,5 +1,5 @@ /* Return bit offset attribute of DIE. - Copyright (C) 2003, 2005 Red Hat, Inc. + Copyright (C) 2003, 2005, 2009 Red Hat, Inc. This file is part of Red Hat elfutils. Written by Ulrich Drepper <drepper@redhat.com>, 2003. @@ -63,7 +63,9 @@ dwarf_bitoffset (die) Dwarf_Attribute attr_mem; Dwarf_Word value; - return INTUSE(dwarf_formudata) (INTUSE(dwarf_attr) (die, DW_AT_bit_offset, - &attr_mem), + return INTUSE(dwarf_formudata) (INTUSE(dwarf_attr_integrate) + (die, DW_AT_bit_offset, &attr_mem), &value) == 0 ? (int) value : -1; } +OLD_VERSION (dwarf_bitoffset, ELFUTILS_0.122) +NEW_VERSION (dwarf_bitoffset, ELFUTILS_0.143) |