diff options
author | Nick Clifton <nickc@redhat.com> | 2002-12-23 10:45:03 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2002-12-23 10:45:03 +0000 |
commit | 312b768e2f1579346e7ffe978202fda06cb37224 (patch) | |
tree | 3322c12eef2b97a147b0754f4d65aba2483f77a9 /ld/ldmain.c | |
parent | 8745eafadc9d43dbd9f9a0d2cc33e12f11ca1cd6 (diff) | |
download | gdb-312b768e2f1579346e7ffe978202fda06cb37224.zip gdb-312b768e2f1579346e7ffe978202fda06cb37224.tar.gz gdb-312b768e2f1579346e7ffe978202fda06cb37224.tar.bz2 |
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/ldmain.c')
-rw-r--r-- | ld/ldmain.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ld/ldmain.c b/ld/ldmain.c index ef84e87..03a5c5a 100644 --- a/ld/ldmain.c +++ b/ld/ldmain.c @@ -220,6 +220,7 @@ main (argc, argv) command_line.rpath = NULL; command_line.warn_mismatch = TRUE; command_line.check_section_addresses = TRUE; + command_line.accept_unknown_input_arch = FALSE; /* We initialize DEMANGLING based on the environment variable COLLECT_NO_DEMANGLE. The gcc collect2 program will demangle the |