mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-11-16 12:34:43 +00:00
Revert "bfd/ELF: make is_debuginfo_file() static"
This reverts commit 5e648fc6a0, since it
breaks the GDB build:
CXX elfread.o
/home/smarchi/src/binutils-gdb/gdb/elfread.c: In function ‘symfile_segment_data_up elf_symfile_segments(bfd*)’:
/home/smarchi/src/binutils-gdb/gdb/elfread.c:145:12: error: ‘is_debuginfo_file’ was not declared in this scope
145 | if (!is_debuginfo_file (abfd)
| ^~~~~~~~~~~~~~~~~
Change-Id: I180a9f6936365c365a853c7dae2af01f5207a84e
This commit is contained in:
@@ -3187,6 +3187,9 @@ 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 bool is_debuginfo_file (bfd *);
|
||||
|
||||
|
||||
extern bool _bfd_elf_init_secondary_reloc_section
|
||||
(bfd *, Elf_Internal_Shdr *, const char *, unsigned int) ATTRIBUTE_HIDDEN;
|
||||
extern bool _bfd_elf_slurp_secondary_reloc_section
|
||||
|
||||
@@ -6568,7 +6568,7 @@ assign_file_positions_for_load_sections (bfd *abfd,
|
||||
is no defined method for detecting such files, so we have to
|
||||
use heuristics instead. */
|
||||
|
||||
static bool
|
||||
bool
|
||||
is_debuginfo_file (bfd *abfd)
|
||||
{
|
||||
if (abfd == NULL || bfd_get_flavour (abfd) != bfd_target_elf_flavour)
|
||||
|
||||
Reference in New Issue
Block a user