diff options
author | Keith Seitz <keiths@redhat.com> | 2019-10-30 12:23:16 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2019-10-30 12:23:16 +0000 |
commit | 864619bb2e68e4ec8fa5bcfc87b00bf6667601e3 (patch) | |
tree | 59ff794f1e9d066ea4c64af4b336fdc8b7fd5d5f /sim/bfin/Makefile.in | |
parent | a712c56a9a2afe0ea5335bf9bf50a638d39b5484 (diff) | |
download | gdb-864619bb2e68e4ec8fa5bcfc87b00bf6667601e3.zip gdb-864619bb2e68e4ec8fa5bcfc87b00bf6667601e3.tar.gz gdb-864619bb2e68e4ec8fa5bcfc87b00bf6667601e3.tar.bz2 |
Add the ability to the BFD library to read build-ids from core flies.
* elf-bfd.h (elf_backend_data) <elf_backend_core_find_build_id>:
New field.
(_bfd_elf32_core_find_build_id, _bfd_elf64_core_find_build_id):
New functions.
(elf_read_notes): Add declaration.
* elf.c (elf_read_notes): Move elf-bfd.h.
(_bfd_elf_core_find_build_id): New function.
(bfd_section_from_phdr): Scan core file PT_LOAD segments for
build-id if none is known.
(elf_parse_notes): For core files, scan for notes.
* elfcore.h (elf_core_file_matches_executable_p): If both
BFDs have identical build-ids, then they match.
(_bfd_elf_core_find_build_id): New function.
* elfxx-target.h (elf_backend_core_find_build_id): Define.
(elfNN_bed): Add elf_backend_core_find_build_id.
Diffstat (limited to 'sim/bfin/Makefile.in')
0 files changed, 0 insertions, 0 deletions