Branch data Line data Source code
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 : : This file is part of elfutils. 5 : : Written by Ulrich Drepper <drepper@redhat.com>, 2003. 6 : : 7 : : This file is free software; you can redistribute it and/or modify 8 : : it under the terms of either 9 : : 10 : : * the GNU Lesser General Public License as published by the Free 11 : : Software Foundation; either version 3 of the License, or (at 12 : : your option) any later version 13 : : 14 : : or 15 : : 16 : : * the GNU General Public License as published by the Free 17 : : Software Foundation; either version 2 of the License, or (at 18 : : your option) any later version 19 : : 20 : : or both in parallel, as here. 21 : : 22 : : elfutils is distributed in the hope that it will be useful, but 23 : : WITHOUT ANY WARRANTY; without even the implied warranty of 24 : : MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 25 : : General Public License for more details. 26 : : 27 : : You should have received copies of the GNU General Public License and 28 : : the GNU Lesser General Public License along with this program. If 29 : : not, see <http://www.gnu.org/licenses/>. */ 30 : : 31 : : #ifdef HAVE_CONFIG_H 32 : : # include <config.h> 33 : : #endif 34 : : 35 : : #include <libeblP.h> 36 : : 37 : : 38 : : bool 39 : 145836 : ebl_gotpc_reloc_check (Ebl *ebl, int reloc) 40 : : { 41 [ + - + - ]: 145836 : return ebl != NULL ? ebl->gotpc_reloc_check (ebl->elf, reloc) : false; 42 : : }