[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/29764] objdump confused with --enable-targets=all if sever
From: |
clyon at gcc dot gnu.org |
Subject: |
[Bug binutils/29764] objdump confused with --enable-targets=all if several machines include the same cpu name |
Date: |
Mon, 21 Nov 2022 16:12:21 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=29764
--- Comment #5 from Christophe Lyon <clyon at gcc dot gnu.org> ---
(In reply to Nick Clifton from comment #4)
> (In reply to Christophe Lyon from comment #3)
>
> Hi Christophe,
>
> > It seems your patch does the trick, but I imagined we'd want a more general
> > solution (that is, do we want add such an optional prefix in all targets)?
>
> Oh it is supported for all targets, but only when the default cpu scan()
> function is used. (See bfd/archures.c:bfd_default_scan). If the
> architecture provides its own scan function, then this needs to support
> the <arch>:<machine> syntax in order for it to work. (The AArch64 and ARM
> architectures being obvious culprits in this case).
Sorry, I wasn't aware of this feature, so that's a real bug in AArch64 and ARM
implementations.
> > That being said, doesn't adding such a prefix require updating some piece of
> > documentation?
>
> Yes - you are right. We should update the documentation as well. Do you
> want
> to update the patch or shall I ?
>
Please go ahead :-)
Thanks!
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/29764] New: objdump confused with --enable-targets=all if several machines include the same cpu name, clyon at gcc dot gnu.org, 2022/11/09
- [Bug binutils/29764] objdump confused with --enable-targets=all if several machines include the same cpu name, sam at gentoo dot org, 2022/11/10
- [Bug binutils/29764] objdump confused with --enable-targets=all if several machines include the same cpu name, nickc at redhat dot com, 2022/11/21
- [Bug binutils/29764] objdump confused with --enable-targets=all if several machines include the same cpu name, nickc at redhat dot com, 2022/11/21
- [Bug binutils/29764] objdump confused with --enable-targets=all if several machines include the same cpu name, clyon at gcc dot gnu.org, 2022/11/21
- [Bug binutils/29764] objdump confused with --enable-targets=all if several machines include the same cpu name, nickc at redhat dot com, 2022/11/21
- [Bug binutils/29764] objdump confused with --enable-targets=all if several machines include the same cpu name,
clyon at gcc dot gnu.org <=
- [Bug binutils/29764] objdump confused with --enable-targets=all if several machines include the same cpu name, cvs-commit at gcc dot gnu.org, 2022/11/21
- [Bug binutils/29764] objdump confused with --enable-targets=all if several machines include the same cpu name, nickc at redhat dot com, 2022/11/21
- [Bug binutils/29764] objdump confused with --enable-targets=all if several machines include the same cpu name, clyon at gcc dot gnu.org, 2022/11/21