2002-08-13 H.J. Lu <hjl@gnu.org>
* objcopy.c (copy_object): Don't warn about the unsupported architecture unless the input target is defaulted or the output architecture is different from the input.
This commit is contained in:
parent
81967506b7
commit
212a3c4d9d
2 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2002-08-13 H.J. Lu <hjl@gnu.org>
|
||||||
|
|
||||||
|
* objcopy.c (copy_object): Don't warn about the unsupported
|
||||||
|
architecture unless the input target is defaulted or the
|
||||||
|
output architecture is different from the input.
|
||||||
|
|
||||||
2002-08-09 Nick Clifton <nickc@redhat.com>
|
2002-08-09 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
* po/sv.po: Updated Swedish translation.
|
* po/sv.po: Updated Swedish translation.
|
||||||
|
|
|
@ -973,7 +973,9 @@ copy_object (ibfd, obfd)
|
||||||
|
|
||||||
/* Copy architecture of input file to output file. */
|
/* Copy architecture of input file to output file. */
|
||||||
if (!bfd_set_arch_mach (obfd, bfd_get_arch (ibfd),
|
if (!bfd_set_arch_mach (obfd, bfd_get_arch (ibfd),
|
||||||
bfd_get_mach (ibfd)))
|
bfd_get_mach (ibfd))
|
||||||
|
&& (ibfd->target_defaulted
|
||||||
|
|| bfd_get_arch (ibfd) != bfd_get_arch (obfd)))
|
||||||
non_fatal (_("Warning: Output file cannot represent architecture %s"),
|
non_fatal (_("Warning: Output file cannot represent architecture %s"),
|
||||||
bfd_printable_arch_mach (bfd_get_arch (ibfd),
|
bfd_printable_arch_mach (bfd_get_arch (ibfd),
|
||||||
bfd_get_mach (ibfd)));
|
bfd_get_mach (ibfd)));
|
||||||
|
|
Loading…
Add table
Reference in a new issue