https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107848

Jose E. Marchesi <jemarch at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Jose E. Marchesi <jemarch at gcc dot gnu.org> ---
This was due to a binutils bug.  Fixed by the following binutils upstream
commits:

commit 5f784ec9277e9303eee3ce366c40ce9fa3203f3e
Author: Cupertino Miranda <cupertino.mira...@oracle.com>
Date:   Fri Mar 17 15:29:36 2023 +0000

    Changed ld and gas BPF tests

    Recent BPF patch removed and renamed the list of relocations based on
    the limitations of BPF instruction set.
    This patch is a correction to the tests.

commit 551fde0ae1691a74e1fdfb2bd33e8453106c0c87
Author: Cupertino Miranda <cupertino.mira...@oracle.com>
Date:   Fri Mar 17 15:27:02 2023 +0000

    Reloc howto access broken for BPF

    Forgot to change the logic to access the reloc howto from
    bpf_elf_relocate_section.
    Problem was introduced in previous BPF commit.

commit 5e4c7a839d1c0d68a4a518cf2dc8e87925575e58
Author: Cupertino Miranda <cupertino.mira...@oracle.com>
Date:   Thu Mar 16 08:39:52 2023 +0000

    BPF relocations review / refactoring

    - Removed not needed relocations.
    - Renamed relocations to match llvm and linux kernel.

    Relocation changes:
      R_BPF_INSN_64         => R_BPF_64_64
      R_BPF_INSN_DISP32     => R_BPF_64_32
      R_BPF_DATA_32         => R_BPF_64_ABS32
      R_BPF_DATA_64         => R_BPF_64_ABS64

Reply via email to