diff options
author | Nick Clifton <nickc@redhat.com> | 2019-07-02 15:58:29 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2019-07-02 15:58:29 +0100 |
commit | 1faa385ff6b11df26efc46152fe15b31adbf8624 (patch) | |
tree | 1986e9f8225acf817943dcaa56b2ca645a9f5ea4 /bfd/elf-bfd.h | |
parent | 854f60884cc35806dab1c0f9e7711c45cefaf7fc (diff) | |
download | gdb-1faa385ff6b11df26efc46152fe15b31adbf8624.zip gdb-1faa385ff6b11df26efc46152fe15b31adbf8624.tar.gz gdb-1faa385ff6b11df26efc46152fe15b31adbf8624.tar.bz2 |
Stop the BFD library from issuing a warning message when processing allocated sections in debuginfo files that lie outside of any loadable segment.
PR 24717
* elf.c (is_debuginfo_file): New function.
(assign_file_positions_for_non_load_sections): Do not warn about
allocated sections outside of loadable segments if they are found
in a debuginfo file.
* elf-bfd.h (is_debuginfo_file): Prototype.
Diffstat (limited to 'bfd/elf-bfd.h')
-rw-r--r-- | bfd/elf-bfd.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h index 0d12f45..a6a831b 100644 --- a/bfd/elf-bfd.h +++ b/bfd/elf-bfd.h @@ -2751,6 +2751,8 @@ extern bfd_vma elf64_r_sym (bfd_vma); extern bfd_vma elf32_r_info (bfd_vma, bfd_vma); extern bfd_vma elf32_r_sym (bfd_vma); +extern bfd_boolean is_debuginfo_file (bfd *); + /* Large common section. */ extern asection _bfd_elf_large_com_section; |