From e40782135b18803f3df8b7ad5ffb5f2134c00bca Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sat, 13 Aug 2005 08:49:44 +0000 Subject: [PATCH] Add missing files. --- libebl/ebl_check_special_symbol.c | 33 +++++++++++++++++++++++++++++++ libebl/eblbsspltp.c | 27 +++++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 libebl/ebl_check_special_symbol.c create mode 100644 libebl/eblbsspltp.c diff --git a/libebl/ebl_check_special_symbol.c b/libebl/ebl_check_special_symbol.c new file mode 100644 index 000000000..8825ee3f3 --- /dev/null +++ b/libebl/ebl_check_special_symbol.c @@ -0,0 +1,33 @@ +/* Check special symbol's st_value. + Copyright (C) 2005 Red Hat, Inc. + + This program is Open Source software; you can redistribute it and/or + modify it under the terms of the Open Software License version 1.0 as + published by the Open Source Initiative. + + You should have received a copy of the Open Software License along + with this program; if not, you may obtain a copy of the Open Software + License version 1.0 from http://www.opensource.org/licenses/osl.php or + by writing the Open Source Initiative c/o Lawrence Rosen, Esq., + 3001 King Ranch Road, Ukiah, CA 95482. */ + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include +#include + + +bool +ebl_check_special_symbol (ebl, sym, name, destshdr) + Ebl *ebl; + const GElf_Sym *sym; + const char *name; + const GElf_Shdr *destshdr; +{ + if (ebl == NULL) + return false; + + return ebl->check_special_symbol (ebl->elf, sym, name, destshdr); +} diff --git a/libebl/eblbsspltp.c b/libebl/eblbsspltp.c new file mode 100644 index 000000000..48e19df70 --- /dev/null +++ b/libebl/eblbsspltp.c @@ -0,0 +1,27 @@ +/* Check if backend uses a bss PLT. + Copyright (C) 2005 Red Hat, Inc. + + This program is Open Source software; you can redistribute it and/or + modify it under the terms of the Open Software License version 1.0 as + published by the Open Source Initiative. + + You should have received a copy of the Open Software License along + with this program; if not, you may obtain a copy of the Open Software + License version 1.0 from http://www.opensource.org/licenses/osl.php or + by writing the Open Source Initiative c/o Lawrence Rosen, Esq., + 3001 King Ranch Road, Ukiah, CA 95482. */ + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include +#include + + +bool +ebl_bss_plt_p (ebl) + Ebl *ebl; +{ + return ebl == NULL ? false : ebl->bss_plt_p (ebl->elf); +} -- 2.47.2