• Paul Eggert's avatar
    ELF unexec: align section header · c9fd597a
    Paul Eggert authored
    This ports the recent unexelf.c changes to Fedora x86-64
    when configured with GCC’s -fsanitize=undefined option.
    * src/unexelf.c (unexec): Align new_data2_size to a multiple
    of ElfW (Shdr)’s alignment, so that NEW_SECTION_H returns a
    pointer aligned appropriately for its type.
    c9fd597a
unexelf.c 23.2 KB