aboutsummaryrefslogtreecommitdiff
path: root/bfd/binary.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/binary.c')
-rw-r--r--bfd/binary.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/bfd/binary.c b/bfd/binary.c
index 9740756..d264a09 100644
--- a/bfd/binary.c
+++ b/bfd/binary.c
@@ -42,11 +42,6 @@
a start symbol, an end symbol, and an absolute length symbol. */
#define BIN_SYMS 3
-/* Set by external programs - specifies the BFD architecture and
- machine number to be uses when creating binary BFDs. */
-enum bfd_architecture bfd_external_binary_architecture = bfd_arch_unknown;
-unsigned long bfd_external_machine = 0;
-
/* Create a binary object. Invoked via bfd_set_format. */
static bfd_boolean
@@ -92,14 +87,6 @@ binary_object_p (bfd *abfd)
abfd->tdata.any = (void *) sec;
- if (bfd_get_arch_info (abfd) != NULL)
- {
- if ((bfd_get_arch_info (abfd)->arch == bfd_arch_unknown)
- && (bfd_external_binary_architecture != bfd_arch_unknown))
- bfd_set_arch_info (abfd, bfd_lookup_arch
- (bfd_external_binary_architecture, bfd_external_machine));
- }
-
return abfd->xvec;
}