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

--- Comment #2 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Alan Modra <[email protected]>:

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

commit f10f989545e9c873720381f5aa1f91d5804daddf
Author: Alan Modra <[email protected]>
Date:   Sat Dec 5 19:40:45 2026 +1030

    PR 35104 ppc NULL relax_info

    ppc_elf_relax_section won't initialise relax_info for sections without
    SHF_ALLOC and SHF_EXECINSTR set.  That's quite reasonable.  However,
    if an object file with R_PPC_ADDR16_HA and R_PPC_ADDR16_LO relocs
    referencing a protected symbol appear in such a section, then
    ppc_elf_relocate_section can attempt to dereferece relax_info.

            PR 35104
            * elf32-ppc.c (ppc_elf_relocate_section): Don't attempt
            pic_fixup or ppc476_workaround code editing in a section
            without relax_info.

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

Reply via email to