From 8f915f68a652e24a382ca0f0a5eafd05341f33c4 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 3 Jan 2000 20:49:47 +0000 Subject: [PATCH] document --disassembler-options=force-thumb --- binutils/ChangeLog | 5 +++++ binutils/binutils.texi | 10 ++++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 5b478ec71f..09e277e44c 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2000-01-03 Nick Clifton + + * binutils.texi: Document new, ARM specific disassembler + command line switch "-M force-thumb". + 1999-12-28 Nick Clifton * readelf.c: Update with new constants added by Oct 4, 1999 diff --git a/binutils/binutils.texi b/binutils/binutils.texi index d21f0da0fe..8ef446debc 100644 --- a/binutils/binutils.texi +++ b/binutils/binutils.texi @@ -26,7 +26,7 @@ END-INFO-DIR-ENTRY @end ifinfo @ifinfo -Copyright @copyright{} 1991, 92, 93, 94, 95, 96, 97, 98, 1999 Free Software Foundation, Inc. +Copyright @copyright{} 1991, 92, 93, 94, 95, 96, 97, 98, 99, 2000 Free Software Foundation, Inc. Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice @@ -54,7 +54,7 @@ into another language, under the above conditions for modified versions. @c This file documents the GNU binary utilities "ar", "ld", "objcopy", @c "objdump", "nm", "size", "strings", "strip", "readelf" and "ranlib". @c -@c Copyright (C) 1991, 92, 93, 94, 95, 96, 97, 98, 1999 Free Software Foundation, Inc. +@c Copyright (C) 1991, 92, 93, 94, 95, 96, 97, 98, 99, 2000 Free Software Foundation, Inc. @c @c This text may be freely distributed under the terms of the GNU @c General Public License. @@ -1354,6 +1354,12 @@ select the name set used by the ARM Procedure Call Standard, whilst specifying @samp{--disassembler-options=reg-names-raw} will just use @samp{r} followed by the register number. +This option can also be used for ARM architectures to force the +disassembler to interpret all instructions as THUMB instructions by +using the switch @samp{--disassembler-options=force-thumb}. This can be +useful when attempting to disassemble thumb code produced by other +compilers. + @item -p @itemx --private-headers Print information that is specific to the object file format. The exact -- 2.34.1