[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/25210] aarch64: -fix-cortex-a53-835769 --fix-cortex-a53-843419 l

From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/25210] aarch64: -fix-cortex-a53-835769 --fix-cortex-a53-843419 lead to invalid operation
Date: Thu, 02 Jan 2020 14:12:55 +0000


--- Comment #4 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by Tamar Christina


commit 0db131fb835e4c4f6a024e86743467e7e01c965e
Author: Tamar Christina <address@hidden>
Date:   Thu Jan 2 14:06:01 2020 +0000

    AArch64: Set the correct ELF class for AArch64 stubs (PR/25210)

    This fixes PR 25210 by specifying the the correct ELF class for AArch64
    After doing this the stub section starts behaving like a normal object file
    loaded from disk.  That is SEC_LINKER_CREATED causes us to have to write
    section manually.

    This flag was added as a fix for PR 24753.  I believe that
    fix to still be correct as linker created sections don't have a size on
    and it fixes the Arm bootstrap regression. But in this case specifying the
    correct section class also makes the stub section not be considered by

    So I'm partially revert this change so that we don't have to manage the
    manually as implied by SEC_LINKER_CREATED.


        PR 25210
        PR 24753
        * elfnn-aarch64.c (_bfd_aarch64_create_stub_section): Set ELF class.


        PR 25210
        PR 24753
        * emultempl/aarch64elf.em (elf${ELFSIZE}_aarch64_add_stub_section):
        Remove SEC_LINKER_CREATED.
        * testsuite/ld-aarch64/aarch64-elf.exp: Add erratum835769-843419.
        * testsuite/ld-aarch64/erratum835769-843419.d: New test.

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]