diff options
Diffstat (limited to 'src/readelf.c')
| -rw-r--r-- | src/readelf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/readelf.c b/src/readelf.c index 72ae04ec..ccd07eb7 100644 --- a/src/readelf.c +++ b/src/readelf.c @@ -12300,7 +12300,8 @@ handle_notes (Ebl *ebl, GElf_Ehdr *ehdr) handle_notes_data (ebl, ehdr, phdr->p_offset, elf_getdata_rawchunk (ebl->elf, phdr->p_offset, phdr->p_filesz, - ELF_T_NHDR)); + (phdr->p_align == 8 + ? ELF_T_NHDR8 : ELF_T_NHDR))); } } |
