diff options
Diffstat (limited to 'backends/alpha_init.c')
-rw-r--r-- | backends/alpha_init.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/backends/alpha_init.c b/backends/alpha_init.c index f66f40c5..c69aec6d 100644 --- a/backends/alpha_init.c +++ b/backends/alpha_init.c @@ -39,16 +39,11 @@ #include "common-reloc.c" -const char * +Ebl * alpha_init (Elf *elf __attribute__ ((unused)), GElf_Half machine __attribute__ ((unused)), - Ebl *eh, - size_t ehlen) + Ebl *eh) { - /* Check whether the Elf_BH object has a sufficent size. */ - if (ehlen < sizeof (Ebl)) - return NULL; - /* We handle it. */ alpha_init_reloc (eh); HOOK (eh, dynamic_tag_name); @@ -64,5 +59,5 @@ alpha_init (Elf *elf __attribute__ ((unused)), HOOK (eh, auxv_info); eh->sysvhash_entrysize = sizeof (Elf64_Xword); - return MODVERSION; + return eh; } |