summaryrefslogtreecommitdiff
path: root/ld/ld.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2002-12-23 10:45:03 +0000
committerNick Clifton <nickc@redhat.com>2002-12-23 10:45:03 +0000
commit5e1dfb82ac05215710dba49688e8e8342afc43cb (patch)
treed598721b99b88af416fe8c461f0daf6746b6524f /ld/ld.h
parented2d2a7095353be42d71901372225e3d9112cd94 (diff)
downloadbinutils-redhat-5e1dfb82ac05215710dba49688e8e8342afc43cb.tar.gz
Change linker's default behaviour - it will now reject binary files whoes
architecture it does not recognise, unless it has explicitly told to accept them.
Diffstat (limited to 'ld/ld.h')
-rw-r--r--ld/ld.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ld/ld.h b/ld/ld.h
index 4a2aac71b5..75c054e775 100644
--- a/ld/ld.h
+++ b/ld/ld.h
@@ -148,6 +148,12 @@ typedef struct {
fpor overlaps. */
bfd_boolean check_section_addresses;
+ /* If TRUE allow the linking of input files in an unknown architecture
+ assuming that the user knows what they are doing. This was the old
+ behaviour of the linker. The new default behaviour is to reject such
+ input files. */
+ bfd_boolean accept_unknown_input_arch;
+
} args_type;
extern args_type command_line;