Blame sysdeps/generic/elf_machine_sym_no_match.h

Packit Service 4aadd4
/* Function to ignore certain symbol matches for machine-specific reasons.
Packit Service 4aadd4
   Copyright (C) 2020 Free Software Foundation, Inc.
Packit Service 4aadd4
   This file is part of the GNU C Library.
Packit Service 4aadd4
Packit Service 4aadd4
   The GNU C Library is free software; you can redistribute it and/or
Packit Service 4aadd4
   modify it under the terms of the GNU Lesser General Public
Packit Service 4aadd4
   License as published by the Free Software Foundation; either
Packit Service 4aadd4
   version 2.1 of the License, or (at your option) any later version.
Packit Service 4aadd4
Packit Service 4aadd4
   The GNU C Library is distributed in the hope that it will be useful,
Packit Service 4aadd4
   but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service 4aadd4
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit Service 4aadd4
   Lesser General Public License for more details.
Packit Service 4aadd4
Packit Service 4aadd4
   You should have received a copy of the GNU Lesser General Public
Packit Service 4aadd4
   License along with the GNU C Library; if not, see
Packit Service 4aadd4
   <https://www.gnu.org/licenses/>.  */
Packit Service 4aadd4
Packit Service 4aadd4
#ifndef _ELF_MACHINE_SYM_NO_MATCH_H
Packit Service 4aadd4
#define _ELF_MACHINE_SYM_NO_MATCH_H
Packit Service 4aadd4
Packit Service 4aadd4
#include <link.h>
Packit Service 4aadd4
#include <stdbool.h>
Packit Service 4aadd4
Packit Service 4aadd4
/* This can be customized to ignore certain symbols during lookup in
Packit Service 4aadd4
   case there are machine-specific rules to disregard some
Packit Service 4aadd4
   symbols.  */
Packit Service 4aadd4
static inline bool
Packit Service 4aadd4
elf_machine_sym_no_match (const ElfW(Sym) *sym)
Packit Service 4aadd4
{
Packit Service 4aadd4
  return false;
Packit Service 4aadd4
}
Packit Service 4aadd4
Packit Service 4aadd4
#endif /* _ELF_MACHINE_SYM_NO_MATCH_H */