From 79eec5eda1b569595878141a3e37b16a5aa4844f 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/windres.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'binutils/windres.c') diff --git a/binutils/windres.c b/binutils/windres.c index c3b1f50d7e..6fbe7b5a08 100644 --- a/binutils/windres.c +++ b/binutils/windres.c @@ -46,11 +46,6 @@ #include "obstack.h" #include "windres.h" -/* Defined in bfd/binary.c. Used to set architecture and machine of input - binary files. */ -extern enum bfd_architecture bfd_external_binary_architecture; -extern unsigned long bfd_external_machine; - /* Used by resrc.c at least. */ int verbose = 0; -- cgit v1.2.1