History log of /external/elfutils/libdw/libdwP.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c495d754f33bd2ce3eeaaed936d8f045fbf53f30 30-Dec-2015 Mark Wielaard <mjw@redhat.com> libdw: Use elf_compress[_gnu] to uncompress debug section data.

libdw used its own code for decompressing GNU style .zdebug sections.
Using elf_compress and elf_compress_gnu instead makes it possible to
transparently use either GNU style or ELF style compressed data.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/libdw/libdwP.h
987e3d722d1d3879c51f4ed7ab1da03a75f5f38c 11-May-2015 Jonathan Lebon <jlebon@redhat.com> dwarf_begin_elf: new error for compression failure

In order to provide better feedback to users, a distinction is made
between finding no dwarf info (E_NO_DWARF) and finding dwarf info but
which is compressed and failed to decompress (E_COMPRESSED_ERROR). This
can occur for example if elfutils was built without zlib support, or if
the compressed section is invalid.

Signed-off-by: Jonathan Lebon <jlebon@redhat.com>
Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/libdw/libdwP.h
71de1d2a8a3fffc83c707642a24f350d7217f83c 01-Apr-2015 Petr Machata <pmachata@redhat.com> Do not reject type units in dwarf_getsrcfiles and dwarf_getsrclines

Signed-off-by: Petr Machata <pmachata@redhat.com>
/external/elfutils/libdw/libdwP.h
daf278fda6d9bd329b517757f9ba2d74619f3be7 11-Jan-2015 Mark Wielaard <mjw@redhat.com> libdw: Prevent infinite recursion when processing DW_TAG_imported_unit.

Invalid DWARF could create cycles with DW_TAG_imported_unit, which would
lead to infinite recursion and stack overflow in libdw_visit_scopes.
Keep track of imported units and error out when a cycle is detected.

Found by afl-fuzz.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/libdw/libdwP.h
7a053473c7bedd22e3db39c444a4cd8f97eace25 14-Dec-2014 Mark Wielaard <mjw@redhat.com> libdw: Add get_uleb128 and get_sleb128 bounds checking.

Both get_uleb128 and get_sleb128 now take an end pointer to prevent
reading too much data. Adjust all callers to provide the end pointer.

There are still two exceptions. "Raw" dwarf_getabbrevattr and
read_encoded_valued don't have a end pointer associated yet.
They will have to be provided in the future.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/libdw/libdwP.h
9202665816763fad8524dd78a664dbcaa157b8d4 12-Dec-2014 Mark Wielaard <mjw@redhat.com> libdw: Make sure all attributes come with a (fake) CU for bound checks.

All attributes now have a reference to a (fake) CU that has startp and
endp set to the data section where the form data comes from. Use that
for bounds checking in __libdw_form_val_len and dwarf_formblock to make
sure data read doesn't overflow any data section. Remove libdwP.h cu_data
and use cu startp and endp directly where appropriate.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/libdw/libdwP.h
8d200b5b728b7ee6150796e4baa07b54e1ac8cd2 11-Dec-2014 Josh Stone <jistone@redhat.com> libdw: save startp/endp boundaries in Dwarf_CU

Rather than looking up section data every time, we can simply save the
range of each CU as pointers in Dwarf_CU.

Signed-off-by: Josh Stone <jistone@redhat.com>
/external/elfutils/libdw/libdwP.h
b849f813e6753ea60784175321d4bde78c0c2ad9 11-Dec-2014 Josh Stone <jistone@redhat.com> libdw: unify die->abbrev lookups

Add a new internal function, __libdw_dieabbrev, which deals with checking
a die for an abbrev, and setting it as needed.

Signed-off-by: Josh Stone <jistone@redhat.com>
/external/elfutils/libdw/libdwP.h
cb73b5a015606a02f952f7eddaba15327f6191fa 04-Dec-2014 Mark Wielaard <mjw@redhat.com> libdw: Add overflow checking to __libdw_form_val_len.

Pass endp as argument to __libdw_form_val_len and check we don't read
beyond the end of expected data and don't return lengths that would
overflow.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/libdw/libdwP.h
fb90bf3f84b5683bbc1f234ee05008ff26250e5c 17-Oct-2014 Petr Machata <pmachata@redhat.com> Support .debug_macro

- This code is based on the following proposal:
http://www.dwarfstd.org/ShowIssue.php?issue=110722.1

- dwarf_getmacros serves either of .debug_macinfo or .debug_macro
transparently, but if the latter uses opcode 0xff, it bails out with
an error. The reason is that in .debug_macro, 0xff is a custom code
that can mean anything, while in .debug_macinfo there's fixed
semantics associated with 0xff.

- dwarf_getmacros_off is a new interface used for requesting iteration
through transparently included units.

- dwarf_macro_getparamcnt and dwarf_macro_param are new interfaces
used for requesting number of parameters of an opcode and individual
parameters. dwarf_macro_getsrcfiles is a new interface used for
requesting a file part of .debug_line unit associated with macro
unit that the opcode comes from.

- The existing interfaces dwarf_macro_opcode, dwarf_macro_param1 and
dwarf_macro_param2 remain operational for old- as well as new-style
Dwarf macro sections, if applicable.

- dwarf_getsrclines was made into a light wrapper around a worker
function that loads line unit given its offset. The worker also
caches loaded units in an offset-keyed search tree, so that we don't
end up re-reading units even though they were read in a different
domain (e.g. a macro unit request can prime cache for later CU
lookup). dwarf_macro_getsrcfiles calls the worker function under
covers.

Signed-off-by: Petr Machata <pmachata@redhat.com>
/external/elfutils/libdw/libdwP.h
3a36e8a26c32103ec2f8edda8bf212d6883970a2 06-Oct-2014 Mark Wielaard <mjw@redhat.com> libdw: Add dwarf_peel_type. Use it in dwarf_aggregate_size.

Add new function dwarf_peel_type. Some type annotations in DWARF are
specified by modifier tag type wrappers instead of attributes.
For type aliases (typedef) and qualifiers (const, volatile, restrict)
tags dwarf_peel_type follows the DW_AT_type attributes till it finds
a base, user-defined, reference or pointer type DIE.

Use this new function in the backends for return type DIEs (replacing
the existing dwarf_peel_type there) and in dwarf_aggregate_size so
it can provide the sizes for qualified types too. Add a new version
and testcase for the new dwarf_aggregate_size functionality.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/libdw/libdwP.h
564cfbe20beb077c3441400c4b0c406478043d76 15-Oct-2014 Petr Machata <pmachata@redhat.com> Drop unused field struct Dwarf_Files_s.cu

Signed-off-by: Petr Machata <pmachata@redhat.com>
/external/elfutils/libdw/libdwP.h
bb096d0412f2cb71e7cac628fc7e251a47c1a56e 03-May-2014 Mark Wielaard <mjw@redhat.com> Remove --enable-dwz. dwz alt debug is no longer experimental.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/libdw/libdwP.h
df85bf99021119fcbb2ced66dd69f1cceafb180c 01-May-2014 Mark Wielaard <mjw@redhat.com> libdwfl: Move dwz alt multi file searching to find_debuginfo callback.

Don't hard code the Dwarf dwz alt multi file search but allow the user
to override it through the standard Dwfl_Callbacks. Also move ownership
completely to the user of dwarf_setalt by removing free_alt from Dwarf
and adding alt, fd and elf fields to Dwfl_Module. Add a relative .dwz
file test case.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/libdw/libdwP.h
35e2a765c002374f1b88dc81ce154bed42f9b1d8 15-Apr-2014 Florian Weimer <fweimer@redhat.com> libdw: Add dwarf_getalt, dwarf_setalt

Signed-off-by: Florian Weimer <fweimer@redhat.com>
/external/elfutils/libdw/libdwP.h
efa72a02de8a3bbbc43c8de659697df5d425ea7e 15-Apr-2014 Florian Weimer <fweimer@redhat.com> dwarf_elf_begin: Add .gnu_debugaltlink to the sectiondata array

And use it if DWZ mode is enabled.

Signed-off-by: Florian Weimer <fweimer@redhat.com>
/external/elfutils/libdw/libdwP.h
c0d2a0b3a38bfb5164c1cf822d50e46cfad9c071 09-Dec-2013 Josh Stone <jistone@redhat.com> libdw: Add an inlined fast path for __libdw_form_val_len

Quite a few DW_FORMs have a fixed length for their data, and we can
easily represent these in a small lookup table. The rest of the forms
are left in the old function to compute as needed. Combined with
inlining, this takes care of many forms with fewer branches and without
any call. (It's conceivable that a smart compiler could make a similar
lookup transformation from the large switch itself, but GCC doesn't.)

Signed-off-by: Josh Stone <jistone@redhat.com>
/external/elfutils/libdw/libdwP.h
3951f2ec0aaca021c77a2c7a464dcf43433261c3 09-Dec-2013 Mark Wielaard <mjw@redhat.com> libdw: Handle empty location expression for (indirect) DIE locations.

When dwarf_getlocation_implicit_pointer and dwarf_getlocation_attr
refer to a DIE that doesn't contain a DW_AT_location then don't generate
an error, but return an empty location expression to signal the actual
value pointed to is not available. This isn't invalid DWARF. Also make
sure that __libdw_intern_expression handles empty location expressions.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/libdw/libdwP.h
b2535b6a6be7717cdd41834d76e5cb48cb446b83 30-Aug-2013 Mark Wielaard <mjw@redhat.com> libdw: Add new functions dwarf_getlocation_attr and dwarf_getlocation_die.

Some location expression operations have a DIE associated with them.
Examples are some of the new GNU typed DWARF extensions, DW_OP_GNU_convert,
DW_OP_GNU_reinterpret, DW_OP_GNU_const_type, DW_OP_GNU_regval_type and
DW_OP_GNU_deref_type. Others have (block) values associated with them,
like DW_OP_GNU_entry_value and DW_OP_GNU_const_type.

It is not always easy to access these values. The DIE offset is given in
various formats either as global offset or CU relative offset. The (block)
value might be constant or a location description. And the block might be
encoded with a uleb128 or ubyte length. The new functions help to easily
get at the DIE or attribute value.

In theory dwarf_getlocation_attr could be used for all cases, since
besides returning DW_AT_const_value or DW_AT_location, it could also
return an attribute referencing a DIE. But at least one operation,
DW_OP_GNU_const_type, has both a (type) DIE and a constant (block)
value associated with it. And directly getting the DIE when needed
is easier than first having to retrieve a (synthesized) attribute
and then getting the actual (type) DIE.

Expression operations that reference an actual DIE for the
DW_AT_location or DW_AT_const_value, like DW_OP_call2, DW_OP_call4,
DW_OP_callref and DW_OP_GNU_implicit_pointer can be used with both
dwarf_getlocation_attr and dwarf_getlocation_die.

DW_OP_implicit_value and DW_OP_GNU_implicit_pointer already had
their own special accessors (dwarf_getlocation_implicit_value
and dwarf_getlocation_implicit_pointer), but it seemed consistent
to include them in the new more generic accessors too.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/libdw/libdwP.h
f5519fc244d95dc04b3e3de88644d149a36a76b6 24-Aug-2012 Mark Wielaard <mjw@redhat.com> Don't include dwz support by default.

By default the dwz multi file support is not included. This means any
DW_FORM_GNU_ref_alt or DW_FORM_GNU_strp_alt encountered in libdw will
just produce an error message. A new configure option --enable-dwz is
needed to include it for those we wish to test it. The dwz test is also
disabled by default.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/libdw/libdwP.h
775375e3bd177cb19acb5020b6e0917551807276 22-Jun-2012 Mark Wielaard <mjw@redhat.com> libdw: Add support for DWZ multifile forms DW_FORM_GNU_ref_alt/strp_alt.

DWZ multifile forms http://www.dwarfstd.org/ShowIssue.php?issue=120604.1
DW_FORM_GNU_ref_alt and DW_FORM_GNU_strp_alt reference an alternative
debuginfo file. dwarf_begin and dwarf_begin_elf will try to use this
automatically. There are no user visible changes to the libdw interface.

dwarf_formref_die, dwarf_formstring and dwarf_formudata can now return
a Dwarf_Die which comes from a CU in the alternative Dwarf descriptor.

__libdw_read_offset was adjusted to take an alternative Dwarf descriptor
into account.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/libdw/libdwP.h
a0172d75311f36adb6db58000474d31f8a9cd553 25-Jun-2012 Mark Wielaard <mjw@redhat.com> Add low-level support for .debug_macro.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/libdw/libdwP.h
de2ed97f33139af5c7a0811e4ec66fc896a13cf2 05-Jun-2012 Mark Wielaard <mjw@redhat.com> Update name, license and contributor policy.

* Change name from "Red Hat elfutils" to "elfutils".
* Update license of standalone tools and test from GPLv2 to GPLv3+.
* Change license of libraries from GPLv2+exception to GPLv2/LGPLv3+.
* Add Developer Certificate of Origin based contributor policy.

top-level:

- COPYING: Upgraded from GPLv2 to GPLv3.
- CONTRIBUTING, COPYING-GPLv2, COPYING-LGPLv3: New files.
- NEWS: Added note about new contribution and license policy.
- Makefile.am: Updated to GPLv3, added new files to EXTRA_DIST.
- configure.ac: Update to GPLv3, changed AC_INIT name to 'elfutils'.

backends, lib, libasm, libcpu, libdw, libdwfl, libebl, libelf:

- All files updated to GPLv2/LGPLv3+. Except some very small files
(<5 lines) which didn't have any headers at all before, the linker
.maps files and the libcpu/defs files which only contain data and
libelf/elf.h which comes from glibc and is under LGPLv2+.

config:

- elfutils.spec.in: Add new License: headers and new %doc files.
- Update all license headers to GPLv2/LGPLv3+ for files used by libs.

src, tests:

- All files updated to GPLv3+. Except for the test bz2 data files, the
linker maps and script files and some very small files (<5 lines)
that don't have any headers.

Signed-off-by: Richard Fontana <rfontana@redhat.com>
Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/libdw/libdwP.h
725aad5d2f8b78ed21a5e253fb38f9722c2c8b2d 24-Feb-2011 Roland McGrath <roland@redhat.com> Support reading .zdebug_* DWARF sections compressed via zlib.
/external/elfutils/libdw/libdwP.h
932585d2385c9d4e5686e4ddc9ba30c68172d7f3 08-May-2010 Roland McGrath <roland@redhat.com> Handle DW_OP_GNU_implicit_pointer.
/external/elfutils/libdw/libdwP.h
2b1f09548b66c2c75d5be6f13cd9374adc95f8d8 21-Jun-2010 Roland McGrath <roland@redhat.com> Finish .debug_types support in libdw and readelf.
/external/elfutils/libdw/libdwP.h
5cc030d6169713ff4711c28a6ce1250b142cd5b3 21-Jun-2010 Roland McGrath <roland@redhat.com> Fix up some holes in .debug_types support.
/external/elfutils/libdw/libdwP.h
183e8abb7bce1b51759f1f16529db7f31e3ec705 21-Jun-2010 Roland McGrath <roland@redhat.com> Merge branch 'roland/debug_types'

Conflicts:
libdw/ChangeLog
libdw/libdw.map
c70cf4e5e5a463b64673c4e80bcf60c938b437b4 19-Jun-2010 Roland McGrath <roland@redhat.com> Record new line table fields, export APIs to fetch them.
/external/elfutils/libdw/libdwP.h
3e0f7d1d1b817040cef82f41879f471ab59b663e 16-Jun-2010 Roland McGrath <roland@redhat.com> Handle reading .debug_types section.
/external/elfutils/libdw/libdwP.h
827d4d176b989c5d765c7f349edff6f994f8ea78 02-Jun-2010 Roland McGrath <roland@redhat.com> Clean up IDX_debug_* list.
/external/elfutils/libdw/libdwP.h
1a030b307c40b5f35188e77aef7be9219a290695 02-Jun-2010 Roland McGrath <roland@redhat.com> Remove unused CIE_VERSION macro.
/external/elfutils/libdw/libdwP.h
675229bb5dcf38df3c09f7f74e41b861e32dd0f2 02-Jun-2010 Roland McGrath <roland@redhat.com> Remove meaningless DWARF_VERSION macro.
/external/elfutils/libdw/libdwP.h
688f7fcdb395cefef6a098b5ac9ddd167bb5fc3d 08-May-2010 Roland McGrath <roland@redhat.com> Fix DW_OP_call_ref operand handling.
/external/elfutils/libdw/libdwP.h
0ab97839da3c382ab8799ebdbf5eb0a79bf20bdc 26-Apr-2010 Roland McGrath <roland@redhat.com> Translate DW_CFA_expression/DW_CFA_val_expression properly to imply pushing CFA before given expression.
/external/elfutils/libdw/libdwP.h
ebc5c885e696cdc4961916113c50e1396d8d3d48 06-Jan-2010 Roland McGrath <roland@redhat.com> Add dwarf_aggregate_size helper function to libdw.
/external/elfutils/libdw/libdwP.h
f0371041995308d197447019eb2ac9285c96477b 10-Sep-2009 Roland McGrath <roland@redhat.com> DW_OP_implicit_value support
/external/elfutils/libdw/libdwP.h
af80014e49796185298dfb261ddf1e51d98f25c0 22-Jul-2009 Roland McGrath <roland@redhat.com> Rejigger calling conventions for dwarf_frame_{cfa,register}.
/external/elfutils/libdw/libdwP.h
3c84db3b4b610bf636c4363abb6d3dac5ae020f9 25-Jun-2009 Roland McGrath <roland@redhat.com> CFI support: lookup by PC and translate into DWARF location per register
/external/elfutils/libdw/libdwP.h
6e1f4658619e0a6bdbf64d7678b82f4e97645633 08-Jul-2009 Roland McGrath <roland@redhat.com> Reorder some libdwP.h struct members for optimal packing.
/external/elfutils/libdw/libdwP.h
05c4e04640d173a4d1ce6e2f25a24060c21a67ab 18-Jun-2009 Roland McGrath <roland@redhat.com> Do some constification to avoid dubious casts.
/external/elfutils/libdw/libdwP.h
99d2372b25d1231d786b70278478c7a112f2b27c 15-Jun-2009 Ulrich Drepper <drepper@redhat.com> Squashed commit of the following:

commit 77abb31cb8d55980ef92260917a7ecdd228b1a44
Author: Petr Machata <pmachata@redhat.com>
Date: Mon Jun 8 15:46:16 2009 +0200

Fix a bug in offset checking

commit b794eac4f8d3e08101b5d2924523b1259bbc1b17
Author: Petr Machata <pmachata@redhat.com>
Date: Wed Jun 3 16:00:01 2009 +0200

Cosmetic, get rid of defining several variables per line

commit a23938fe35d515a3d75a51f6204771f3cf6c9ec4
Author: Petr Machata <pmachata@redhat.com>
Date: Wed Jun 3 15:50:03 2009 +0200

Restructure the code to decrease the binary size

commit 7c301e3d4e8584dfb3174855fb6af3d5791dfeed
Author: Petr Machata <pmachata@redhat.com>
Date: Mon Jun 1 19:43:28 2009 +0200

Shuffle a couple pieces of code around to make the code smaller

commit 6325323482c2a3e17409d32c7feec9461be26614
Merge: 83ac53d... e94b1b2...
Author: Petr Machata <pmachata@redhat.com>
Date: Fri May 22 08:49:07 2009 +0200

Merge branch 'master' of ssh://pmachata@git.fedorahosted.org/git/elfutils into pmachata/reader_hooks

Conflicts:
libdw/ChangeLog

commit 83ac53db400945c074e77ec9904efe550903a0e2
Author: Petr Machata <pmachata@redhat.com>
Date: Fri May 22 08:40:25 2009 +0200

Call reloc hook with the original address, not incremented

commit f1996388745566abc1ca1c1700b3b7eded208575
Author: Petr Machata <pmachata@redhat.com>
Date: Wed May 6 16:53:03 2009 +0200

Rewrite boundary checking logic so that it's immune to arithmetic overflow

* ... also get rid of some code redundancy.

commit 0c1df732822d83548edd0d005f3450281ed1701b
Author: Petr Machata <pmachata@redhat.com>
Date: Wed May 6 16:25:09 2009 +0200

__libdw_read_offset* take extra argument for header size checks

* also presence of debug data and buffer is checked in __libdw_in_section

commit 6fb192e360f842cacb34a90c03cd0524cccc3dec
Author: Petr Machata <pmachata@redhat.com>
Date: Wed May 6 15:51:20 2009 +0200

Check for presence of data before loading the offset

commit a2e7612b165d83dd241225f87075fa4f58d18781
Author: Petr Machata <pmachata@redhat.com>
Date: Wed May 6 15:04:16 2009 +0200

Cosmetic changes

commit 8b1aad2c2f6c8dc02b3e704e4f386c1827e385cb
Author: Petr Machata <pmachata@redhat.com>
Date: Tue May 5 15:34:13 2009 +0200

Improve reader hook functions a bit

* ... so that they are closer match to what's need on call sites

commit 3854b7fbab2fe331711365f94a295af82164d0d2
Author: Petr Machata <pmachata@redhat.com>
Date: Tue May 5 14:33:50 2009 +0200

Fixes in use of reader hooks in __libdw_formptr and dwarf_formudata

* and a bit more

commit 335075596b6acef6e59919155e2b087e690a572d
Author: Petr Machata <pmachata@redhat.com>
Date: Tue May 5 14:32:39 2009 +0200

Rename __libdw_read_udata_addr to __libdw_formptr

commit 8273a2adaf8cb2ee203926af2849e4f96f8a6eaf
Author: Petr Machata <pmachata@redhat.com>
Date: Tue May 5 02:53:40 2009 +0200

Introduce __libdw_read_udata_address

* the use in dwarf_ranges is iffy, there's a functionality mismatch.
Need to find some better way

commit 1c897f4abde1530038d332f4fc03a596a24f6aaf
Author: Petr Machata <pmachata@redhat.com>
Date: Mon May 4 18:09:13 2009 +0200

ChangeLog entries for previous commit

commit 90d7c39454468b91c0fd6514a4e8d821222d6adb
Author: Petr Machata <pmachata@redhat.com>
Date: Mon May 4 18:07:54 2009 +0200

Fix bugs, introduce __libdw_read_begin_end_pair_inc

commit 9b3923f5b69a3e56590769435c4693f057acdc1f
Merge: 6200ba6... 589b3d3...
Author: Petr Machata <pmachata@redhat.com>
Date: Mon May 4 12:22:21 2009 +0200

Merge branch 'master' of ssh://pmachata@git.fedorahosted.org/git/elfutils into pmachata/reader_hooks

commit 6200ba62aa9ea3cb9318f73a27181907a528dbe4
Author: Petr Machata <pmachata@redhat.com>
Date: Wed Apr 29 15:31:28 2009 +0200

dwarf_getlocation_addr uses read hooks

commit ecbb8cdd8b500e37dc34fc246b912f704fe31ca4
Author: Petr Machata <pmachata@redhat.com>
Date: Wed Apr 29 15:16:09 2009 +0200

dwarf_ranges and dwarf_formref use read hooks

commit cb8f67b29a896c2660c10aa1028a9dbb377553e9
Author: Petr Machata <pmachata@redhat.com>
Date: Tue Apr 28 18:39:04 2009 +0200

Convert several new functions to use read hooks

commit b130453eb16a8cf042915e312cc5f189b8b92c01
Author: Petr Machata <pmachata@redhat.com>
Date: Tue Apr 28 18:38:27 2009 +0200

Add length read hooks

commit bd885ff694817b965231d99f1ab867947998e734
Author: Petr Machata <pmachata@redhat.com>
Date: Tue Apr 28 18:36:17 2009 +0200

Constify read hook arguments

commit 66fe03f1e489a88b89a15c9e13f9bd33db2729b1
Author: Petr Machata <pmachata@redhat.com>
Date: Tue Apr 28 16:11:05 2009 +0200

Change type of return value of offset read hooks to Dwarf_Off

commit 22b36e00cc228f5a966f84ca3323e5d652923ce8
Merge: 5b3534b... a7cb532...
Author: Petr Machata <pmachata@redhat.com>
Date: Mon Apr 27 19:05:25 2009 +0200

Merge branch 'master' of ssh://pmachata@git.fedorahosted.org/git/elfutils into pmachata/reader_hooks

commit 5b3534b62cbd45fe4f11dd1be3e492237938cce0
Author: Petr Machata <pmachata@redhat.com>
Date: Mon Apr 27 18:53:06 2009 +0200

Rewrites in read hooks

* Have the checking and reading logic itself in the header so that it gets
optimized out/inlined. Call external relocating hook from there, there
will presumably be more work to do, and we presumably don't want to keep
this in the header.

commit 9e265d71d0eb900e76d6fdb0196ef4fc6507f3a7
Merge: 1783089... 300f3a4...
Author: Petr Machata <pmachata@redhat.com>
Date: Thu Apr 23 17:45:25 2009 +0200

Merge branch 'master' of ssh://pmachata@git.fedorahosted.org/git/elfutils into pmachata/reader_hooks

commit 1783089b184ddea2081bbe5ac4e80420cb6b0803
Author: Petr Machata <pmachata@redhat.com>
Date: Thu Apr 23 17:44:48 2009 +0200

Use the new reader hooks in several places

commit 11c3d97a5b40ea15edf324092b03da3050610d01
Author: Petr Machata <pmachata@redhat.com>
Date: Thu Apr 23 17:40:03 2009 +0200

Introduce reader hooks
/external/elfutils/libdw/libdwP.h
03288f0df65115b75cf029825ecc9cf9158870a4 29-Jan-2009 Roland McGrath <roland@redhat.com> Fiddle internal type decls for C++ scoping.
/external/elfutils/libdw/libdwP.h
c5acb304d81cdbe3f8b923f2a6ac1bee3af9f498 29-Jan-2009 Roland McGrath <roland@redhat.com> (struct Dwarf_Files_s): Replace dbg field with cu field.
/external/elfutils/libdw/libdwP.h
1f6d2010bb26b6bf5395a98651fce9a1a9141ac3 31-Dec-2008 Roland McGrath <roland@redhat.com> dwarf_haschildren: Return -1 for error case, not 0.
/external/elfutils/libdw/libdwP.h
a969d8e19470157be1b8b2e1a693ac7702bf4273 22-Jan-2008 Ulrich Drepper <drepper@redhat.com> Add missing copyright year updates. Fix ChangeLog.
/external/elfutils/libdw/libdwP.h
35f08c4d52d0ffd9f8aa50f47b84de5603842b1f 18-Jan-2008 Ulrich Drepper <drepper@redhat.com> propagate from branch 'com.redhat.elfutils.nickc.pending' (head 28d6423325f0cc14a133eb6b92a8c3604e437ba6)
to branch 'com.redhat.elfutils' (head 6ef48518ed8497626058574c787852bd939d46ee)
/external/elfutils/libdw/libdwP.h
e4c22ea004c02a58f5db5eb53794275344c17958 23-Oct-2007 Roland McGrath <roland@redhat.com> 2007-10-23 Roland McGrath <roland@redhat.com>

* linux-kernel-modules.c (report_kernel_archive): Reorder the kernel
module to appear first.
/external/elfutils/libdw/libdwP.h
43da9895c6d828ceae65a47f2337e8ef24eb97c1 17-Apr-2007 Roland McGrath <roland@redhat.com> libdw/
2007-04-16 Roland McGrath <roland@redhat.com>

* libdw.map (ELFUTILS_0.127): Add dwfl_module_address_section.

libdwfl/
2007-04-16 Roland McGrath <roland@redhat.com>

* derelocate.c (cache_sections): Apply bias to sh_addr.
(compare_secrefs): Fix address comparison to avoid signed overflow.
(find_section): New function, broken out of ...
(dwfl_module_relocate_address): ... here, call it.
(check_module): New function, broken out of ...
(dwfl_module_relocate_address): ... here, call it.
(dwfl_module_address_section): New function.
* libdwfl.h: Declare it.

tests/
2007-04-16 Roland McGrath <roland@redhat.com>

* dwfl-addr-sect.c: New file.
* Makefile.am (noinst_PROGRAMS): Add it.
(dwfl_addr_sect_LDADD): New variable.
/external/elfutils/libdw/libdwP.h
db1d54386fc38a30eff030517cbbfedf758fa32a 10-Oct-2006 Ulrich Drepper <drepper@redhat.com> Whitespace fixes.
/external/elfutils/libdw/libdwP.h
c373d850ec9ca342f4c71d5e287c8d8bf0723cd6 10-Oct-2006 Roland McGrath <roland@redhat.com> 2006-10-09 Roland McGrath <roland@redhat.com>

* ia64_symbol.c (ia64_reloc_simple_type): Treat SECREL types as simple.
/external/elfutils/libdw/libdwP.h
1e9ef50681e20ef14c2ba38aef37a71ff148be08 05-Apr-2006 Ulrich Drepper <drepper@redhat.com> Fix FSF address. No exception for libdwarf.
/external/elfutils/libdw/libdwP.h
361df7da6dfecd817b27e62b91752ac316d7cdd4 04-Apr-2006 Ulrich Drepper <drepper@redhat.com> propagate from branch 'com.redhat.elfutils.roland.pending' (head 4f8fc821345feef58624f0aa5b470d4827577d8c)
to branch 'com.redhat.elfutils' (head 76e26cb54695fd3b21ee8fb5be3036bd68200633)
/external/elfutils/libdw/libdwP.h
6724c90d02659f7466b67b357563042e403d154e 28-Oct-2005 Roland McGrath <roland@redhat.com> NEWS updates
/external/elfutils/libdw/libdwP.h
07d4f2fc1cb53f170a71bc13617bbdd9cb1c3c60 28-Oct-2005 Roland McGrath <roland@redhat.com> libdw/
Fixes to last changes.

tests/
2005-10-27 Roland McGrath <roland@redhat.com>

* run-find-prologues.sh: New file.
* Makefile.am (TESTS, EXTRA_DIST): Add it.
/external/elfutils/libdw/libdwP.h
a8dc8b0b5856220d72e20de4b70d2793fc092214 11-Sep-2005 Roland McGrath <roland@redhat.com> disapproval of revision c1decd790dc3a6ab55ecfc0ace23dd93f55c01ff
/external/elfutils/libdw/libdwP.h
843f6f57d7c89a49479ee4567aedd0d5069f102e 11-Sep-2005 Roland McGrath <roland@redhat.com> 2005-09-09 Roland McGrath <roland@redhat.com>

* elf_update.c (write_file): Stat the file and fchmod it after update
if its mode had S_ISUID or S_ISGID bits set.
/external/elfutils/libdw/libdwP.h
71e15a01742e5d5de9c6260d4526146be54e5a8a 27-Aug-2005 Roland McGrath <roland@redhat.com> libdw/
2005-08-27 Roland McGrath <roland@redhat.com>

* dwarf_getscopes.c (dwarf_getscopes): Rewritten using
__libdw_visit_scopes.

* dwarf_getscopes_die.c: New file.
* Makefile.am (libdw_a_SOURCES): Add it.
* libdw.h: Declare dwarf_getscopes_die.
* libdw.map: Bump to 0.115 and add it.

* libdw_visit_scopes.c (__libdw_visit_scopes): Pass a struct
containing a DIE and its parent pointer, instead of just Dwarf_Die.
Take two functions for both preorder and postorder visitors.
* libdwP.h: Update decl.
(struct Dwarf_Die_Chain): New type.
* dwarf_func_inline.c: Update uses.

* dwarf_diename.c (dwarf_diename): Use dwarf_attr_integrate.
Add INTDEF.
* libdwP.h: Add INTDECL.
* dwarf_func_name.c (dwarf_func_name): Use dwarf_diename.


src/
2005-08-27 Roland McGrath <roland@redhat.com>

* addr2line.c (dwarf_diename_integrate): Function removed.
(print_dwarf_function): Use plain dwarf_diename.


tests/
2005-08-27 Roland McGrath <roland@redhat.com>

* run-funcscopes.sh: New file.
* testfile25.bz2: New data file.
* Makefile.am (TESTS, EXTRA_DIST): Add them.

2005-08-26 Roland McGrath <roland@redhat.com>

* addrscopes.c (dwarf_diename_integrate): Removed.
(print_vars, handle_address): Use plain dwarf_diename.

2005-08-25 Roland McGrath <roland@redhat.com>

* funcscopes.c: New file.
* Makefile.am (noinst_PROGRAMS): Add it.
(funcscopes_LDADD): New variable.

* run-addrscopes.sh: Add another case.
* testfile24.bz2: New data file.
* Makefile.am (EXTRA_DIST): Add it.

* addrscopes.c (handle_address): Take new argument IGNORE_INLINES,
pass it to dwarf_getscopes.
(main): Pass it, true when '=' follows an address.
/external/elfutils/libdw/libdwP.h
1ecb606f5af22838bf42b50dcc581d2b0f9191fe 15-Aug-2005 Roland McGrath <roland@redhat.com> libdw/
2005-08-15 Roland McGrath <roland@redhat.com>

* dwarf_func_inline.c: New file.
* Makefile.am (libdw_a_SOURCES): Add it.
* libdw.h: Declare dwarf_func_inline, dwarf_func_inline_instances.
* libdw.map: Add them.

* dwarf_func_die.c: New file.
* Makefile.am (libdw_a_SOURCES): Add it.
* libdw.h: Declare dwarf_func_die.
* libdw.map: Add it. Bump version to ELFUTILS_0.114.

tests/
2005-08-15 Roland McGrath <roland@redhat.com>

* dwflmodtest.c (print_instance, print_inline): New functions.
(print_func): Call print_inline.
(options, parse_opt): Grok -i/--inlines.
/external/elfutils/libdw/libdwP.h
4959bf89d92b59ba72bea5786d7b3f9b5564f750 09-Aug-2005 Roland McGrath <roland@redhat.com> libdw/
2005-08-09 Roland McGrath <roland@redhat.com>

* dwarf_end.c: Add INTDEF.
* dwarf_error.c (dwarf_errmsg): Likewise.
* libdwP.h (dwarf_end, dwarf_errmsg): Add INTDECLs.

libdwfl/
2005-08-09 Roland McGrath <roland@redhat.com>

* libdwflP.h: Include ../libdw/libdwP.h for its INTDECLs.
* cu.c: Use INTUSE on dwarf_* calls.
* dwfl_error.c: Likewise.
* dwfl_module.c: Likewise.
* dwfl_module_getdwarf.c: Likewise.
* dwfl_module_getsrc_file.c: Likewise.
* lines.c: Likewise.
/external/elfutils/libdw/libdwP.h
b08d5a8fb42f4586d756068065186b5af7e48dad 26-Jul-2005 Ulrich Drepper <drepper@redhat.com> Adjust for monotone.
/external/elfutils/libdw/libdwP.h