summaryrefslogtreecommitdiff
path: root/libebl
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2005-08-13 08:49:44 +0000
committerRoland McGrath <roland@redhat.com>2005-08-13 08:49:44 +0000
commite40782135b18803f3df8b7ad5ffb5f2134c00bca (patch)
treea50f142356ead8cf5cf203ebe6018b9225efe2f7 /libebl
parente9c4e8ec6f1b13018bfb2e42a20cd80c6bbd0498 (diff)
downloadelfutils-e40782135b18803f3df8b7ad5ffb5f2134c00bca.tar.gz
Add missing files.
Diffstat (limited to 'libebl')
-rw-r--r--libebl/ebl_check_special_symbol.c33
-rw-r--r--libebl/eblbsspltp.c27
2 files changed, 60 insertions, 0 deletions
diff --git a/libebl/ebl_check_special_symbol.c b/libebl/ebl_check_special_symbol.c
new file mode 100644
index 00000000..8825ee3f
--- /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 <config.h>
+#endif
+
+#include <inttypes.h>
+#include <libeblP.h>
+
+
+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 00000000..48e19df7
--- /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 <config.h>
+#endif
+
+#include <inttypes.h>
+#include <libeblP.h>
+
+
+bool
+ebl_bss_plt_p (ebl)
+ Ebl *ebl;
+{
+ return ebl == NULL ? false : ebl->bss_plt_p (ebl->elf);
+}