bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/31110] [2 42 Regression] d21 (D frontend from GCC 13) fails to l


From: doko at debian dot org
Subject: [Bug ld/31110] [2 42 Regression] d21 (D frontend from GCC 13) fails to link with binutils trunk on riscv64-linux-gnu
Date: Sun, 03 Dec 2023 08:35:38 +0000

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

Matthias Klose <doko at debian dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |riscv64-linux-gnu
                 CC|                            |ibuclaw at gdcproject dot org,
                   |                            |nelson.chu at sifive dot com

--- Comment #1 from Matthias Klose <doko at debian dot org> ---
that error message was introduced:

2021-06-22  Nelson Chu  <nelson.chu@sifive.com>

        * elfnn-riscv.c (riscv_pcrel_hi_reloc): Added field to store
        the original relocation type, in case the type is converted to
        R_RISCV_HI20.
        (riscv_pcrel_lo_reloc): Removed unused name field.
        (riscv_pcrel_relocs): Added comments.
        (riscv_zero_pcrel_hi_reloc): Removed unused input_bfd.
        (riscv_record_pcrel_hi_reloc): Updated.
        (riscv_record_pcrel_lo_reloc): Likewise.
        (riscv_resolve_pcrel_lo_relocs): Likewise.  Check the original
        type of auipc, to make sure the %pcrel_lo without any addends.
        Otherwise, report dangerous relocation error.
        (riscv_elf_relocate_section): Updated above functions are changed.
        For R_RISCV_GOT_HI20, report dangerous relocation error when addend
        isn't zero.

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