From 8b31b6c4c83c17810ff8ccdbf88c209ba354f2d5 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 11 Sep 2009 11:16:19 +0000 Subject: * obcopy.c (copy_object): New parameter `input_arch', architecture of input file, if not specified in input file itself; all callers updated; `binary_architecture' hack removed. (copy_archive, copy_file): New parameter `input_arch', for `copy_object' usage. (copy_main): Accept `-B' (`--binary-architecture') option also for any arch-less input ifile format, not only `binary'; remove bfd_external_binary_architecture hack; instead, add `input_arch' to calls to `copy_file'. * windres.c, windmc.c : Obsolete and useless external references to `bfd_external_binary_architecture' or `bfd_external_machine' removed. * binary.c (binary_object_p): Remove bfd_external_binary_architecture hack. objcopy `-B' (`--binary-architecture') option is now handled in a generic way. --- binutils/doc/binutils.texi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'binutils/doc') diff --git a/binutils/doc/binutils.texi b/binutils/doc/binutils.texi index cc01546..f67ad13 100644 --- a/binutils/doc/binutils.texi +++ b/binutils/doc/binutils.texi @@ -1134,9 +1134,9 @@ translation. @xref{Target Selection}, for more information. @item -B @var{bfdarch} @itemx --binary-architecture=@var{bfdarch} -Useful when transforming a raw binary input file into an object file. -In this case the output architecture can be set to @var{bfdarch}. This -option will be ignored if the input file has a known @var{bfdarch}. You +Useful when transforming a architecture-less input file into an object file. +In this case the output architecture can be set to @var{bfdarch}. This +option will be ignored if the input file has a known @var{bfdarch}. You can access this binary data inside a program by referencing the special symbols that are created by the conversion process. These symbols are called _binary_@var{objfile}_start, _binary_@var{objfile}_end and -- cgit v1.1