[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/30046] power cmpi leads to unknown architecture
From: |
cvs-commit at gcc dot gnu.org |
Subject: |
[Bug gas/30046] power cmpi leads to unknown architecture |
Date: |
Thu, 02 Mar 2023 02:04:20 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=30046
--- Comment #6 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot
gnu.org> ---
The binutils-2_40-branch branch has been updated by Alan Modra
<amodra@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=3d0046f39aa097e957c97f88ba24ccd87968f379
commit 3d0046f39aa097e957c97f88ba24ccd87968f379
Author: Alan Modra <amodra@gmail.com>
Date: Thu Feb 16 20:47:44 2023 +1030
PR30046, power cmpi leads to unknown architecture
PowerPC ELF always uses bfd_arch_powerpc, so we shouldn't allow the
gas -mpwr, -mpwr2 or -mpwrx options to choose bfd_arch_rs6000.
Given the possible values of ppc_cpu, I think the as_fatal at the end
of ppc_arch will never be reached, so it can be deleted and the code
simplified a little.
PR 30046
* config/tc-ppc.c (ppc_arch): Return bfd_arch_powerpc for ELF.
Delete dead code.
(cherry picked from commit 4d826e132ccc38c3081209bf3a7a107f8b23ffd4)
--
You are receiving this mail because:
You are on the CC list for the bug.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug gas/30046] power cmpi leads to unknown architecture,
cvs-commit at gcc dot gnu.org <=