binutils-gdb/config
Aaron Merey 301a9420d9 Add support for debuginfod to the binutils (disable by default, enabled via a configure time option).
debuginfod is a lightweight web service that indexes ELF/DWARF
debugging resources by build-id and serves them over HTTP. This patch
enables objdump and readelf to query debuginfod servers when they are
otherwise not able to find separate debug files. Binutils can be built
with debuginfod using the --with-debuginfod configure option. This
requires that libdebuginfod be installed and found at configure time.
debuginfod is packaged with elfutils, starting with version 0.178. For
more information see https://sourceware.org/elfutils/.

toplevel* config/debuginfod.m4: New file. Add macro AC_DEBUGINFOD. Adds
        new configure option --with-debuginfod.
        * configure: Regenerate.
        * configure.ac: Call AC_DEBUGINFOD.

binutils* Makefile.am (readelf_LDADD, objdump_LDADD): Add libdebuginfod.
        * Makefile.in: Regenerate.
        * NEWS: Update.
        * config.in: Regenerate.
        * configure: Regenerate.
        * configure.ac: Call AC_DEBUGINFOD.
        * doc/Makefile.in: Regenerate.
        * doc/binutils.texi: Add section on using binutils
        with debuginfod.
        * dwarf.c (debuginfod_fetch_separate_debug_info): New function.
        Query debuginfod servers for the target debug file.
        (load_separate_debug_info): Call
        debuginfod_fetch_separate_debug_info if configured with
        debuginfod.
        (load_separate_debug_files): Add file argument to
        load_separate_debug_info calls.
        * dwarf.h (get_build_id): Add declaration.
        * objdump.c (get_build_id): New function. Get build-id of file.
        * readelf.c (get_build_id): Likewise.
        * testsuite/binutils-all/debuginfod.exp: New tests.
        * testsuite/binutils-all/linkdebug.s: Add .note.gnu.build-id
        section.
2020-01-09 13:19:20 +00:00
..
ChangeLog Add markers for 2.33 branch to NEWS and ChangeLog files. 2019-09-09 10:27:40 +01:00
acinclude.m4 strip off +x bits on non-executable/script files 2013-12-07 02:03:03 -05:00
acx.m4 config: Sync with GCC 2018-06-18 09:33:48 -04:00
asmcfi.m4 Resync config/ from GCC. 2012-05-29 15:58:15 +00:00
ax_check_define.m4 Update top level configure files by synchronizing them with gcc. 2018-01-10 15:29:21 +00:00
ax_pthread.m4 config: Sync with GCC 2018-06-18 09:33:48 -04:00
bitfields.m4 Sync config files with GCC 2015-07-14 09:18:16 -07:00
bootstrap-O1.mk ChangeLog: 2009-05-12 18:16:01 +00:00
bootstrap-O3.mk ChangeLog: 2009-05-12 18:16:01 +00:00
bootstrap-asan.mk sync binutils config/ with gcc 2016-12-08 21:35:11 +10:30
bootstrap-cet.mk config: Sync with GCC 2018-06-18 09:33:48 -04:00
bootstrap-debug-big.mk ChangeLog: 2009-09-07 00:44:08 +00:00
bootstrap-debug-ckovw.mk ChangeLog: 2009-09-07 00:44:08 +00:00
bootstrap-debug-lean.mk Update top level configure files by synchronizing them with gcc. 2018-01-10 15:29:21 +00:00
bootstrap-debug-lib.mk ChangeLog: 2009-09-07 00:44:08 +00:00
bootstrap-debug.mk ChangeLog: 2009-09-07 00:44:08 +00:00
bootstrap-lto-noplugin.mk config: Sync with GCC 2018-06-18 09:33:48 -04:00
bootstrap-lto.mk config: Sync with GCC 2018-06-18 09:33:48 -04:00
bootstrap-time.mk ChangeLog: 2009-09-07 00:44:08 +00:00
bootstrap-ubsan.mk config: Sync with GCC 2018-06-18 09:33:48 -04:00
cet.m4 config: Sync with GCC 2018-06-18 09:33:48 -04:00
codeset.m4 Merge from gcc 2004-09-23 19:43:47 +00:00
debuginfod.m4 Add support for debuginfod to the binutils (disable by default, enabled via a configure time option). 2020-01-09 13:19:20 +00:00
depstand.m4 2007-02-09 Paolo Bonzini <bonzini@gnu.org> 2007-02-09 19:24:42 +00:00
dfp.m4 Merge config/ changes from GCC. 2018-10-31 17:16:41 +00:00
elf.m4 Sync elf.m4 with GCC tree 2015-03-16 08:49:06 -07:00
enable.m4 * enable.m4: New file. 2005-09-23 17:28:31 +00:00
extensions.m4 config/ 2009-07-30 19:43:16 +00:00
futex.m4 * futex.m4: New file. 2008-01-08 17:29:24 +00:00
gc++filt.m4 * gc++filt.m4: New file. 2010-07-02 11:58:19 +00:00
gcc-plugin.m4 Fix PR ld/22263 on SPARC. 2018-02-06 18:17:39 +01:00
gettext-sister.m4 Richard Earnshaw <rearnsha@arm.com> 2006-06-13 08:02:20 +00:00
gettext.m4 Sync config with GCC 2015-07-27 07:43:26 -07:00
glibc21.m4 Merge from gcc 2004-09-23 19:43:47 +00:00
gthr.m4 Add gthr.m4 2012-11-03 23:53:02 +00:00
gxx-include-dir.m4 Sync from GCC 2006-07-25 08:39:57 +00:00
hwcaps.m4 Update top level configure files by synchronizing them with gcc. 2018-01-10 15:29:21 +00:00
iconv.m4 Fix a typo in iconv.m4. 2018-11-09 16:08:10 +00:00
intdiv0.m4 Merge from gcc 2004-09-23 19:43:47 +00:00
inttypes-pri.m4 Merge from gcc 2004-09-23 19:43:47 +00:00
inttypes.m4 Merge from gcc 2004-09-23 19:43:47 +00:00
inttypes_h.m4 Merge from gcc 2004-09-23 19:43:47 +00:00
isl.m4 Update top level configure files by synchronizing them with gcc. 2018-01-10 15:29:21 +00:00
largefile.m4 config: 2009-11-30 16:46:47 +00:00
lcmessage.m4 Merge from gcc 2004-09-23 19:43:47 +00:00
ld-symbolic.m4 2007-01-14 H.J. Lu <hongjiu.lu@intel.com> 2007-01-14 15:39:41 +00:00
lead-dot.m4 Sync config/ from GCC: 2009-08-16 12:49:48 +00:00
lib-ld.m4 Merge from gcc 2004-09-23 19:43:47 +00:00
lib-link.m4 Merge from gcc 2004-09-23 19:43:47 +00:00
lib-prefix.m4 Merge from gcc 2004-09-23 19:43:47 +00:00
libstdc++-raw-cxx.m4 Remove "-I" from LIBSTDCXX_RAW_CXX_LDFLAGS 2013-01-07 18:25:13 +00:00
lthostflags.m4 PR target/40125 2010-12-06 01:40:20 +00:00
math.m4 Merge autoconf / automake update changes from GCC. 2018-10-31 17:10:56 +00:00
mh-alpha-linux Sync toplevel configure.ac with GCC 2015-07-14 07:49:50 -07:00
mh-cygwin 2011-03-24 Paolo Bonzini <bonzini@gnu.org> 2011-03-24 17:31:20 +00:00
mh-darwin Sync libiberty from GCC, replaying updates to configure scripts 2015-06-24 21:43:02 +02:00
mh-djgpp sync with gcc 2002-04-12 01:23:53 +00:00
mh-mingw * mh-cygwin (LDFLAGS): Turn up stack allocation to 12MB. 2010-12-02 23:36:59 +00:00
mh-pa 2008-07-30 Paolo Bonzini <bonzini@gnu.org> 2008-07-30 15:03:57 +00:00
mh-pa-hpux10 2008-07-30 Paolo Bonzini <bonzini@gnu.org> 2008-07-30 15:03:57 +00:00
mh-ppc-aix Resync config/ from GCC. 2012-05-29 15:58:15 +00:00
mmap.m4 Resync config/ from GCC. 2012-05-29 15:58:15 +00:00
mt-alphaieee Resync config/ from GCC. 2012-05-29 15:58:15 +00:00
mt-android Update top level configure files by synchronizing them with gcc. 2018-01-10 15:29:21 +00:00
mt-d30v 19990502 sourceware import 1999-05-03 07:29:11 +00:00
mt-gnu Don't reset CXXFLAGS_FOR_TARGET 2015-03-16 08:41:42 -07:00
mt-mips-elfoabi * configure.ac (mips*-*-*linux*, mips*-*-gnu*): Use mt-mips-gnu. 2008-08-16 06:47:17 +00:00
mt-mips-gnu * configure.ac (mips*-*-*linux*, mips*-*-gnu*): Use mt-mips-gnu. 2008-08-16 06:47:17 +00:00
mt-mips16-compat * configure.ac (mips*-*-*linux*, mips*-*-gnu*): Use mt-mips-gnu. 2008-08-16 06:47:17 +00:00
mt-nios2-elf Sync nios2 configure changes from GCC mainline. 2014-05-14 16:27:14 -07:00
mt-ospace Append -g -Os rather than overwriting 2015-03-16 08:44:41 -07:00
mt-sde 2012-09-19 Steve Ellcey <sellcey@mips.com> 2012-09-19 21:22:33 +00:00
mt-spu * mt-spu (all-ld): Update for ld Makefile changes. 2008-08-03 03:38:07 +00:00
multi.m4 Merge config/ changes from GCC. 2018-10-31 17:16:41 +00:00
nls.m4 Merge from gcc 2004-09-23 19:43:47 +00:00
no-executables.m4 config/ 2009-07-30 19:43:16 +00:00
override.m4 Bump to autoconf 2.69 and automake 1.15.1 2018-06-19 16:55:06 -04:00
picflag.m4 picflag.m4 high bit set in comment 2017-01-05 00:02:57 +10:30
plugins.m4 config: Sync with GCC 2018-04-05 15:22:13 -07:00
po.m4 Sync config with GCC 2015-07-27 07:43:26 -07:00
proginstall.m4 * configure.ac: m4_include config/proginstall.m4. 2008-03-17 22:17:33 +00:00
progtest.m4 Import from gcc repository: 2003-07-14 18:38:36 +00:00
sjlj.m4 Sync config files with GCC 2015-07-14 09:18:16 -07:00
stdint.m4 Sync config with GCC 2015-07-27 07:43:26 -07:00
stdint_h.m4 Merge from gcc 2004-09-23 19:43:47 +00:00
target-posix Sync config files with GCC 2015-07-14 09:18:16 -07:00
tcl.m4 Sync config with GCC 2015-07-27 07:43:26 -07:00
tls.m4 Merge autoconf / automake update changes from GCC. 2018-10-31 17:10:56 +00:00
uintmax_t.m4 Merge from gcc 2004-09-23 19:43:47 +00:00
ulonglong.m4 Merge from gcc 2004-09-23 19:43:47 +00:00
unwind_ipinfo.m4 Sync config/ from GCC: 2009-08-16 12:49:48 +00:00
warnings.m4 Sync config/warnings.m4 with GCC 2015-07-14 08:39:12 -07:00
weakref.m4 Resync config/ from GCC. 2012-05-29 15:58:15 +00:00
zlib.m4 Set zlibdir/zlibinc with top_builddir/top_srcdir 2015-04-02 05:43:07 -07:00