aboutsummaryrefslogtreecommitdiff
path: root/binutils/windmc.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2009-09-11 11:16:19 +0000
committerNick Clifton <nickc@redhat.com>2009-09-11 11:16:19 +0000
commit8b31b6c4c83c17810ff8ccdbf88c209ba354f2d5 (patch)
tree203db61019ecbf57f49fd2f476d1561b80761764 /binutils/windmc.c
parent681fe688302b73d8371727f432040dd95392bc83 (diff)
downloadgdb-8b31b6c4c83c17810ff8ccdbf88c209ba354f2d5.zip
gdb-8b31b6c4c83c17810ff8ccdbf88c209ba354f2d5.tar.gz
gdb-8b31b6c4c83c17810ff8ccdbf88c209ba354f2d5.tar.bz2
* 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.
Diffstat (limited to 'binutils/windmc.c')
-rw-r--r--binutils/windmc.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/binutils/windmc.c b/binutils/windmc.c
index c7aa8f8..d02bc86 100644
--- a/binutils/windmc.c
+++ b/binutils/windmc.c
@@ -1,5 +1,5 @@
/* windmc.c -- a program to compile Windows message files.
- Copyright 2007, 2008
+ Copyright 2007, 2008, 2009
Free Software Foundation, Inc.
Written by Kai Tietz, Onevision.
@@ -51,11 +51,6 @@ typedef struct mc_msg_item
struct bin_messagetable_item *res;
} mc_msg_item;
-/* 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;
-
int target_is_bigendian = 0;
const char *def_target_arch;