bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/27217] aarch64 as Internal error in md_apply_fix at ....../gas/


From: cvs-commit at gcc dot gnu.org
Subject: [Bug gas/27217] aarch64 as Internal error in md_apply_fix at ....../gas/config/tc-aarch64.c:8330.
Date: Tue, 06 Apr 2021 12:29:17 +0000

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

--- Comment #15 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by Nick Clifton <nickc@sourceware.org>:

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

commit eac4eb8ecb2626ef7711d8f6bee9e870ae435604
Author: Nick Clifton <nickc@redhat.com>
Date:   Tue Apr 6 13:27:50 2021 +0100

    Fix a problem assembling AArch64 sources when a relocation is generated
against a symbol that has a defined value.

            PR 27217
            * config/tc-aarch64.c (my_get_expression): Rename to
            aarch64_get_expression.  Add a fifth argument to enable deferring
            of expression resolution.
            (parse_typed_reg): Update calls to my_get_expression.
            (parse_vector_reg_list): Likewise.
            (parse_immediate_expression): Likewise.
            (parse_big_immediate): Likewise.
            (parse_shift): Likewise.
            (parse_shifter_operand_imm): Likewise.
            (parse_operands): Likewise.
            (parse_shifter_operand_reloc): Update calls to my_get_expression
            and call aarch64_force_reloc to determine the value of the new
            fifth argument.
            (parse_address_main): Likewise.
            (parse_half): Likewise.
            (parse_adrp): Likewise.
            (aarch64_force_reloc): New function.  Contains code extracted
from...
            (aarch64_force_relocation): ... here.
            * testsuite/gas/aarch64/pr27217.s: New test case.
            * testsuite/gas/aarch64/pr27217.d: New test driver.

-- 
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]