Coverage Report

Created: 2026-03-10 08:46

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/binutils-gdb/bfd/elf-solaris2.h
Line
Count
Source
1
/* Solaris2 link support for BFD.
2
   Copyright (C) 2026 Free Software Foundation, Inc.
3
4
   This file is part of BFD, the Binary File Descriptor library.
5
6
   This program is free software; you can redistribute it and/or modify
7
   it under the terms of the GNU General Public License as published by
8
   the Free Software Foundation; either version 3 of the License, or
9
   (at your option) any later version.
10
11
   This program is distributed in the hope that it will be useful,
12
   but WITHOUT ANY WARRANTY; without even the implied warranty of
13
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
   GNU General Public License for more details.
15
16
   You should have received a copy of the GNU General Public License
17
   along with this program; if not, write to the Free Software
18
   Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
19
   MA 02110-1301, USA.  */
20
21
extern const char *const elf_solaris2_global_syms[];
22
23
extern bool elf_solaris2_add_symbol_hook
24
  (bfd *, struct bfd_link_info *, Elf_Internal_Sym *, const char **,
25
   flagword *, asection **, bfd_vma *) ATTRIBUTE_HIDDEN;
26
27
static inline bool
28
is_solaris2_abi_global_sym (const char *name)
29
0
{
30
0
  for (const char *const *sym = elf_solaris2_global_syms; *sym; ++sym)
31
0
    if (strcmp (name, *sym) == 0)
32
0
      return true;
33
0
  return false;
34
0
}
Unexecuted instantiation: elf64-x86-64.c:is_solaris2_abi_global_sym
Unexecuted instantiation: elf-solaris2.c:is_solaris2_abi_global_sym
Unexecuted instantiation: elf32-i386.c:is_solaris2_abi_global_sym
Unexecuted instantiation: elf64-sparc.c:is_solaris2_abi_global_sym
Unexecuted instantiation: elf32-sparc.c:is_solaris2_abi_global_sym