From 3bf31ec9326e16d2f194fb33a89a958fffb04efb Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 6 Jul 2006 09:49:56 +0000 Subject: [PATCH] PR binutils/2879 * doc/binutils.texi: Document -T shorthand for --target switch. * strings.c: Update comment to include -T option. --- binutils/ChangeLog | 6 ++++++ binutils/doc/binutils.texi | 5 +++-- binutils/strings.c | 3 ++- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 9eb0202..80a3b25 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,9 @@ +2006-07-06 Mohammed Adnène Trojette + + PR binutils/2879 + * doc/binutils.texi: Document -T shorthand for --target switch. + * strings.c: Update comment to include -T option. + 2006-06-30 Nick Clifton * dwarf.c (display_debug_frames): Catch a corrupt length field diff --git a/binutils/doc/binutils.texi b/binutils/doc/binutils.texi index 0abcef5..ed4117b 100644 --- a/binutils/doc/binutils.texi +++ b/binutils/doc/binutils.texi @@ -2136,7 +2136,7 @@ strings [@option{-afov}] [@option{-}@var{min-len}] [@option{-t} @var{radix}] [@option{--radix=}@var{radix}] [@option{-e} @var{encoding}] [@option{--encoding=}@var{encoding}] [@option{-}] [@option{--all}] [@option{--print-file-name}] - [@option{--target=}@var{bfdname}] + [@option{-T} @var{bfdname}] [@option{--target=}@var{bfdname}] [@option{--help}] [@option{--version}] @var{file}@dots{} @c man end @end smallexample @@ -2197,7 +2197,8 @@ single-8-bit-byte characters, @samp{b} = 16-bit bigendian, @samp{l} = 16-bit littleendian, @samp{B} = 32-bit bigendian, @samp{L} = 32-bit littleendian. Useful for finding wide character strings. -@item --target=@var{bfdname} +@item -T @var{bfdname} +@itemx --target=@var{bfdname} @cindex object code format Specify an object code format other than your system's default format. @xref{Target Selection}, for more information. diff --git a/binutils/strings.c b/binutils/strings.c index a04cb58..3002ff9 100644 --- a/binutils/strings.c +++ b/binutils/strings.c @@ -1,6 +1,6 @@ /* strings -- print the strings of printable characters in files Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, - 2002, 2003, 2004, 2005 Free Software Foundation, Inc. + 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -46,6 +46,7 @@ littleendian 32-bit. --target=BFDNAME + -T {bfdname} Specify a non-default object file format. --help -- 2.7.4