mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-28 18:10:46 +00:00
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.
This commit is contained in:
6
ld/ld.h
6
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;
|
||||
|
||||
Reference in New Issue
Block a user