arm, objdump: Make objdump use bfd's machine detection to drive disassembly

Andre Vieira (lists) andre.simoesdiasvieira@arm.com
Wed Oct 30 17:16:15 GMT 2024


Forgot to mention I tested gas for the patch series for arm-none-eabi, 
arm-wince and arm-vxworks.

On 30/10/2024 17:08, Andre Vieira (lists) wrote:
> This patch series makes objdump use build attributes or notes if present 
> to determine the architecture to disassembly for. This is a deviation 
> from the existing behaviour where it would attempt to disassemble for 
> all known A-profile instructions, which would lead to inaccuracies with 
> earlier architectures and even wrong assembly when disassembling an 
> Armv8.1-M Mainline object file/binary.
> 
> The first patch does the bulk of the work and the second cleans up the 
> 26-bit instruction disassembly to warn developers of obsolote behaviour.
> 
> Andre Vieira (2)
>   arm, objdump: Make objdump use bfd's machine detection to drive 
> disassembly
>   arm: print obsolote warning for 26-bit set in instructions



More information about the Binutils mailing list