Stop the BFD library from issuing a warning message when processing allocated section...
authorNick Clifton <nickc@redhat.com>
Tue, 2 Jul 2019 14:58:29 +0000 (15:58 +0100)
committerNick Clifton <nickc@redhat.com>
Tue, 2 Jul 2019 14:58:29 +0000 (15:58 +0100)
commit1faa385ff6b11df26efc46152fe15b31adbf8624
tree1986e9f8225acf817943dcaa56b2ca645a9f5ea4
parent854f60884cc35806dab1c0f9e7711c45cefaf7fc
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.
bfd/ChangeLog
bfd/elf-bfd.h
bfd/elf.c