summaryrefslogtreecommitdiffstats
path: root/libdwfl/segment.c
Commit message (Collapse)AuthorAgeFilesLines
* Avoid double-including config.hUlf Hermann2017-04-261-0/+4
| | | | | | | | | | | | | | | | | config.h doesn't have include guards, so including it twice is bad. We deal with this by checking for PACKAGE_NAME, but only in some places. Once we start using gnulib, we will need to include config.h before any gnulib-generated headers. This is problematic if we include it transitively through our own private headers. In order to set a clear rule about inclusion of config.h, it is now included in every .c file as first header, but not in any header. This will definitely avoid double-inclusion and satisfy the condition that it has to be included before gnulib headers. It comes at the price of adding some redundancy, but there is no clean way to avoid this. Change-Id: Ib78dd7e058ef8ac93cd379dcd14a2ffbc86c1988 Reviewed-by: Christian Kandeler <[email protected]>
* libdwfl: Correct off-by-one check in segment.c insert.Mark Wielaard2015-04-141-2/+3
| | | | | | Caught by running run-backtrace-core-x32.sh under valgrind. Signed-off-by: Mark Wielaard <[email protected]>
* Unwinder for x86*.Jan Kratochvil2013-11-071-9/+12
| | | | | Signed-off-by: Jan Kratochvil <[email protected]> Signed-off-by: Mark Wielaard <[email protected]>
* Update name, license and contributor policy.Mark Wielaard2012-06-051-40/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 <[email protected]> Signed-off-by: Mark Wielaard <[email protected]>
* libdwfl: Another segment lookup table nit.Roland McGrath2010-05-061-0/+4
|
* Fix libdwfl segment table management.Roland McGrath2010-05-041-11/+35
|
* Fix libdwfl segment bugs breaking core-file support.Roland McGrath2009-01-221-2/+2
|
* libdwfl/Roland McGrath2008-09-301-9/+31
| | | | | | | 2008-09-29 Roland McGrath <[email protected]> * segment.c (insert): Must realloc DWFL->lookup_module here too. (dwfl_report_segment): Clear DWFL->lookup_module before insert calls.
* propagate from branch 'com.redhat.elfutils.pmachata.threads' (head ↵Roland McGrath2008-08-261-2/+2
| | | | | | 6db56f08d1ba946c22c9bcfaec0ddeb6532e1dcc) to branch 'com.redhat.elfutils.roland.pending' (head d0bf16e5588ef191b1541ac0d07d841c1cf52fc9)
* Fix up bogon and missing log entries from .pmachata.threads branch.Roland McGrath2008-08-251-0/+300