diff options
Diffstat (limited to 'backends/s390_init.c')
-rw-r--r-- | backends/s390_init.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/backends/s390_init.c b/backends/s390_init.c index b4f3e7f8..fd79502d 100644 --- a/backends/s390_init.c +++ b/backends/s390_init.c @@ -40,16 +40,11 @@ extern __typeof (s390_core_note) s390x_core_note; -const char * +Ebl * s390_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. */ s390_init_reloc (eh); HOOK (eh, reloc_simple_type); @@ -75,5 +70,5 @@ s390_init (Elf *elf __attribute__ ((unused)), if (eh->class == ELFCLASS64) eh->sysvhash_entrysize = sizeof (Elf64_Xword); - return MODVERSION; + return eh; } |