https://sourceware.org/bugzilla/show_bug.cgi?id=33368

--- Comment #2 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by H.J. Lu <h...@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=3e1716c9fc203f5654d49c17b160a466c78a2a2c

commit 3e1716c9fc203f5654d49c17b160a466c78a2a2c
Author: H.J. Lu <hjl.to...@gmail.com>
Date:   Thu Sep 4 06:05:33 2025 -0700

    readelf: Handle 0 sh_entsize of GOT sections

    Gold, lld and mold set sh_entsize to 0 on .got and .got.plt sections.
    If sh_entsize of GOT sections is 0, assume 8 for ELFCLASS64 and 4 for
    ELFCLASS32, except for x32 which uses 8.

            PR binutils/33368
            * readelf.c (process_got_section_contents): Handle 0 sh_entsize
            of GOT sections.

    Signed-off-by: H.J. Lu <hjl.to...@gmail.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to