bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/29764] objdump confused with --enable-targets=all if sever


From: nickc at redhat dot com
Subject: [Bug binutils/29764] objdump confused with --enable-targets=all if several machines include the same cpu name
Date: Mon, 21 Nov 2022 16:06:06 +0000

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

--- Comment #4 from Nick Clifton <nickc at redhat dot com> ---
(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).


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

Cheers
  Nick

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