d8698e55cbe95e56c3a4cbd67c320048ea4f087a |
|
23-Sep-2015 |
Mark Wielaard <mjw@redhat.com> |
Properly mark all internal function definitions. Since we banned old style function definitions GCC is able to diagnose function definitions that don't match the function declaration: elf32_getehdr.c:78: error: conflicting types for ‘__elf64_getehdr_wrlock’ libelfP.h:498: note: previous declaration of ‘__elf64_getehdr_wrlock’ This happens on i386 because there internal functions are marked with: # define internal_function __attribute__ ((regparm (3), stdcall)) Make sure all internal function declarations and definitions are marked with internal_function. Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/libdw/dwarf_error.c
|
1ccdfb683ad6c7e59793136c3a657ddf131cafd1 |
|
22-Sep-2015 |
Mark Wielaard <mjw@redhat.com> |
Remove old-style function definitions. We already require -std=gnu99 and old-style function definitions might hide some compiler warnings. Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/libdw/dwarf_error.c
|
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/dwarf_error.c
|
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/dwarf_error.c
|
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/dwarf_error.c
|
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/dwarf_error.c
|
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/dwarf_error.c
|
3c84db3b4b610bf636c4363abb6d3dac5ae020f9 |
|
25-Jun-2009 |
Roland McGrath <roland@redhat.com> |
CFI support: lookup by PC and translate into DWARF location per register
/external/elfutils/libdw/dwarf_error.c
|
7e678fa3f6051f7ef24b4610c9a66cab858b6b6e |
|
11-Jan-2009 |
Ulrich Drepper <drepper@redhat.com> |
Require __thread support in compiler. Rename --enable-tls to more appropriate --enable-thread-safety.
/external/elfutils/libdw/dwarf_error.c
|
1e9ef50681e20ef14c2ba38aef37a71ff148be08 |
|
05-Apr-2006 |
Ulrich Drepper <drepper@redhat.com> |
Fix FSF address. No exception for libdwarf.
/external/elfutils/libdw/dwarf_error.c
|
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/dwarf_error.c
|
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/dwarf_error.c
|
b08d5a8fb42f4586d756068065186b5af7e48dad |
|
26-Jul-2005 |
Ulrich Drepper <drepper@redhat.com> |
Adjust for monotone.
/external/elfutils/libdw/dwarf_error.c
|