diff options
Diffstat (limited to 'backends/m68k_init.c')
-rw-r--r-- | backends/m68k_init.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/backends/m68k_init.c b/backends/m68k_init.c index 05d544c1..7b94f23a 100644 --- a/backends/m68k_init.c +++ b/backends/m68k_init.c @@ -37,16 +37,11 @@ #include "common-reloc.c" -const char * +Ebl * m68k_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. */ m68k_init_reloc (eh); HOOK (eh, gotpc_reloc_check); @@ -59,5 +54,5 @@ m68k_init (Elf *elf __attribute__ ((unused)), eh->frame_nregs = 25; HOOK (eh, set_initial_registers_tid); - return MODVERSION; + return eh; } |