PR binutils/2879

* doc/binutils.texi: Document -T shorthand for --target switch.
* strings.c: Update comment to include -T option.
This commit is contained in:
Nick Clifton
2006-07-06 09:49:56 +00:00
parent 790d799eb2
commit 3bf31ec932
3 changed files with 11 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2006-07-06 Mohammed Adnène Trojette <adn@diwi.org>
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 <nickc@redhat.com> 2006-06-30 Nick Clifton <nickc@redhat.com>
* dwarf.c (display_debug_frames): Catch a corrupt length field * dwarf.c (display_debug_frames): Catch a corrupt length field

View File

@ -2136,7 +2136,7 @@ strings [@option{-afov}] [@option{-}@var{min-len}]
[@option{-t} @var{radix}] [@option{--radix=}@var{radix}] [@option{-t} @var{radix}] [@option{--radix=}@var{radix}]
[@option{-e} @var{encoding}] [@option{--encoding=}@var{encoding}] [@option{-e} @var{encoding}] [@option{--encoding=}@var{encoding}]
[@option{-}] [@option{--all}] [@option{--print-file-name}] [@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{} [@option{--help}] [@option{--version}] @var{file}@dots{}
@c man end @c man end
@end smallexample @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 16-bit littleendian, @samp{B} = 32-bit bigendian, @samp{L} = 32-bit
littleendian. Useful for finding wide character strings. littleendian. Useful for finding wide character strings.
@item --target=@var{bfdname} @item -T @var{bfdname}
@itemx --target=@var{bfdname}
@cindex object code format @cindex object code format
Specify an object code format other than your system's default format. Specify an object code format other than your system's default format.
@xref{Target Selection}, for more information. @xref{Target Selection}, for more information.

View File

@ -1,6 +1,6 @@
/* strings -- print the strings of printable characters in files /* strings -- print the strings of printable characters in files
Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 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 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 it under the terms of the GNU General Public License as published by
@ -46,6 +46,7 @@
littleendian 32-bit. littleendian 32-bit.
--target=BFDNAME --target=BFDNAME
-T {bfdname}
Specify a non-default object file format. Specify a non-default object file format.
--help --help