]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
Add missing files.
authorRoland McGrath <roland@redhat.com>
Sat, 13 Aug 2005 08:49:44 +0000 (08:49 +0000)
committerRoland McGrath <roland@redhat.com>
Sat, 13 Aug 2005 08:49:44 +0000 (08:49 +0000)
libebl/ebl_check_special_symbol.c [new file with mode: 0644]
libebl/eblbsspltp.c [new file with mode: 0644]

diff --git a/libebl/ebl_check_special_symbol.c b/libebl/ebl_check_special_symbol.c
new file mode 100644 (file)
index 0000000..8825ee3
--- /dev/null
@@ -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 (file)
index 0000000..48e19df
--- /dev/null
@@ -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);
+}