summaryrefslogtreecommitdiffstats
path: root/dwarflint/reloc.hh
Commit message (Collapse)AuthorAgeFilesLines
* Update dwarf branch name, license and contributor policy.upstream/dwarfMark Wielaard2012-06-061-19/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. dwarflint: - All files updated to GPLv3+. libdw/c++: - All files updated to GPLv2/LGPLv3+. src: - All files updated to GPLv3+. Except dwarf-opcodes.h, dwarfstrings.c and dwarfstrings.h, which were meant as library files and have been updated to GPLv2/LGPLv3+. tests: - All files updated to GPLv3+. Except for the test bz2 data files. Signed-off-by: Richard Fontana <[email protected]> Signed-off-by: Mark Wielaard <[email protected]>
* dwarflint: Revamp location reportingPetr Machata2011-04-191-7/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | - Drop struct where, introduce class locus, which is an abstract interface that the real locus classes implement. Locus classes are still used as values, no heap allocation was necessary, although if polymorphism is necessary, loci can simply be new'ed and put in a vector etc. - Formatting of most loci was kept the way it was, but some formats have been improved. For example, DIE and abbrev loci now use attribute name directly to point to the attribute in question. - Low-level allocation helpers (mostly WIPE) were dropped and replaced with constructors on those structures. Placement new has to be used in a couple places to initialize data where REALLOC is still used. - Functions that used to take struct where * now take locus const &. The code was updated throughout. - Values not corresponding to sections were removed from enum section_id. Part was dropped outright, because they were there just to support WHEREs, rel_* was moved to new class rel_target. - Convert addr_recort, ref_record to classes inheriting off std::vector. ref_record in fact became ref_record_T and is now parametrized by locus type.
* dwarflint: .ii -> _i.hhPetr Machata2011-04-061-1/+1
|
* dwarflint: Get rid of low.h/low.cPetr Machata2010-09-221-4/+4
| | | | - and rename misc.h to misc.hh
* dwarflint: Getting rid of compat C bindingsPetr Machata2010-09-221-0/+91