• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* Return true if the symbol type is that referencing the GOT.  E.g.,
2    R_386_GOTPC.
3    Copyright (C) 2003 Red Hat, Inc.
4    Written by Ulrich Drepper <drepper@redhat.com>, 2003.
5 
6    This program is Open Source software; you can redistribute it and/or
7    modify it under the terms of the Open Software License version 1.0 as
8    published by the Open Source Initiative.
9 
10    You should have received a copy of the Open Software License along
11    with this program; if not, you may obtain a copy of the Open Software
12    License version 1.0 from http://www.opensource.org/licenses/osl.php or
13    by writing the Open Source Initiative c/o Lawrence Rosen, Esq.,
14    3001 King Ranch Road, Ukiah, CA 95482.   */
15 
16 #ifdef HAVE_CONFIG_H
17 # include <config.h>
18 #endif
19 
20 #include <libeblP.h>
21 
22 
23 bool
ebl_gotpc_reloc_check(ebl,reloc)24 ebl_gotpc_reloc_check (ebl, reloc)
25      Ebl *ebl;
26      int reloc;
27 {
28   return ebl != NULL ? ebl->gotpc_reloc_check (ebl->elf, reloc) : false;
29 }
30