aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2006-07-06 09:49:56 +0000
committerNick Clifton <nickc@redhat.com>2006-07-06 09:49:56 +0000
commit3bf31ec9326e16d2f194fb33a89a958fffb04efb (patch)
tree272287e601003231456b0b55cf3090ab71de7101 /binutils
parent790d799eb229beee0f8b69fcc3b8834affd2e445 (diff)
downloadgdb-3bf31ec9326e16d2f194fb33a89a958fffb04efb.zip
gdb-3bf31ec9326e16d2f194fb33a89a958fffb04efb.tar.gz
gdb-3bf31ec9326e16d2f194fb33a89a958fffb04efb.tar.bz2
PR binutils/2879
* doc/binutils.texi: Document -T shorthand for --target switch. * strings.c: Update comment to include -T option.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog6
-rw-r--r--binutils/doc/binutils.texi5
-rw-r--r--binutils/strings.c3
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 <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>
* 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