diff options
| author | Mark Wielaard <[email protected]> | 2020-06-11 23:16:21 +0200 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2020-06-11 23:16:21 +0200 |
| commit | 50a6eeef7d87623faa65126dc3d16c2a8e613aea (patch) | |
| tree | 19a35135efaac56c49a30316c6572c7b4d6ec4aa /backends/s390_init.c | |
| parent | 49f13584d60322578c19b6118393ab04236ca7bf (diff) | |
| parent | a2bc0214a5615551d89cef8d160bdbaafd5f1a83 (diff) | |
Merge tag 'elfutils-0.180' into mjw/RH-DTSdts-0.180
elfutils 0.180 release
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; } |
