bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/26044] Some targets can't be compiled with GCC 10


From: cvs-commit at gcc dot gnu.org
Subject: [Bug gas/26044] Some targets can't be compiled with GCC 10
Date: Tue, 26 May 2020 16:34:44 +0000

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

--- Comment #13 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by H.J. Lu <address@hidden>:

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

commit e3fed0f2fe98c52dc8cb160be2a30e973b1dca3f
Author: H.J. Lu <address@hidden>
Date:   Tue May 26 09:33:48 2020 -0700

    tc-xgate.c: Replace R_XGATE_PCREL_X with BFD_RELOC_XGATE_PCREL_X

    Replace R_XGATE_PCREL_X with BFD_RELOC_XGATE_PCREL_X to silence GCC 10
    warning:

    gas/config/tc-xgate.c:1339:5: error: implicit conversion from âenum
elf_xgate_reloc_typeâ to âbfd_reloc_code_real_typeâ {aka âenum
bfd_reloc_code_realâ} [-Werror=enum-conversion]
     1339 |     R_XGATE_PCREL_9);
          |     ^~~~~~~~~~~~~~~

            PR gas/26044
            * config/tc-xgate.c (md_apply_fix): Check BFD_RELOC_XGATE_PCREL_X
            instead of R_XGATE_PCREL_X.
            (xgate_parse_operand): Replace R_XGATE_PCREL_X with
            BFD_RELOC_XGATE_PCREL_X.

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