mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-10 05:52:21 +08: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:
@ -1,3 +1,8 @@
|
||||
2002-12-23 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* nlmconv.c (main): Pass TRUE as third argument to
|
||||
bfd_arch_get_compatible.
|
||||
|
||||
2002-12-23 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* strings.c (isgraphic): Replace definition with STRING_ISGRAPHIC
|
||||
|
@ -377,7 +377,8 @@ main (argc, argv)
|
||||
|
||||
assert (bfd_get_flavour (outbfd) == bfd_target_nlm_flavour);
|
||||
|
||||
if (bfd_arch_get_compatible (inbfd, outbfd) == NULL)
|
||||
/* XXX: Should we accept the unknown bfd format here ? */
|
||||
if (bfd_arch_get_compatible (inbfd, outbfd, TRUE) == NULL)
|
||||
non_fatal (_("warning: input and output formats are not compatible"));
|
||||
|
||||
/* Move the values read from the command file into outbfd. */
|
||||
|
Reference in New Issue
Block a user