summaryrefslogtreecommitdiffstats
path: root/libebl/eblopenbackend.c
diff options
context:
space:
mode:
authorUlrich Drepper <[email protected]>2005-08-13 17:50:47 +0000
committerUlrich Drepper <[email protected]>2005-08-13 17:50:47 +0000
commitc5c33a6a2ce5ea400ac5d06b3c2f15808f68b803 (patch)
tree766e4fa596159c98baa73efde0730ea49f266d8e /libebl/eblopenbackend.c
parentad11217601d90e4bb79e4305541e7ecd9ec13182 (diff)
Minor cleanups of last changes to elflint and libebl to support
clean ppc/ppc64 handling.
Diffstat (limited to 'libebl/eblopenbackend.c')
-rw-r--r--libebl/eblopenbackend.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/libebl/eblopenbackend.c b/libebl/eblopenbackend.c
index f3ae7ab1..aef289ca 100644
--- a/libebl/eblopenbackend.c
+++ b/libebl/eblopenbackend.c
@@ -153,11 +153,11 @@ static bool default_object_note (const char *name, uint32_t type,
uint32_t descsz, const char *desc);
static bool default_debugscn_p (const char *name);
static bool default_copy_reloc_p (int reloc);
-static bool default_check_special_symbol (Elf *elf,
+static bool default_check_special_symbol (Elf *elf, GElf_Ehdr *ehdr,
const GElf_Sym *sym,
const char *name,
const GElf_Shdr *destshdr);
-static bool default_bss_plt_p (Elf *elf);
+static bool default_bss_plt_p (Elf *elf, GElf_Ehdr *ehdr);
static void
@@ -563,6 +563,7 @@ default_copy_reloc_p (int reloc __attribute__ ((unused)))
static bool
default_check_special_symbol (Elf *elf __attribute__ ((unused)),
+ GElf_Ehdr *ehdr __attribute__ ((unused)),
const GElf_Sym *sym __attribute__ ((unused)),
const char *name __attribute__ ((unused)),
const GElf_Shdr *destshdr __attribute__ ((unused)))
@@ -571,7 +572,8 @@ default_check_special_symbol (Elf *elf __attribute__ ((unused)),
}
static bool
-default_bss_plt_p (Elf *elf __attribute__ ((unused)))
+default_bss_plt_p (Elf *elf __attribute__ ((unused)),
+ GElf_Ehdr *ehdr __attribute__ ((unused)))
{
return false;
}