tekhex architecure

is a don't care.

	* tekhex.c (tekhex_set_arch_mach): Ignore unknown arch errors.
This commit is contained in:
Alan Modra 2014-11-07 21:22:02 +10:30
parent e5242d4bed
commit 56aedec7ab
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2014-11-07 Alan Modra <amodra@gmail.com>
* tekhex.c (tekhex_set_arch_mach): Ignore unknown arch errors.
2014-11-07 Alan Modra <amodra@gmail.com> 2014-11-07 Alan Modra <amodra@gmail.com>
* tekhex.c (CHUNK_SPAN): Define. * tekhex.c (CHUNK_SPAN): Define.

View file

@ -677,7 +677,9 @@ tekhex_set_arch_mach (bfd *abfd,
enum bfd_architecture arch, enum bfd_architecture arch,
unsigned long machine) unsigned long machine)
{ {
return bfd_default_set_arch_mach (abfd, arch, machine); /* Ignore errors about unknown architecture. */
return (bfd_default_set_arch_mach (abfd, arch, machine)
|| arch == bfd_arch_unknown);
} }
/* We have to save up all the Tekhexords for a splurge before output. */ /* We have to save up all the Tekhexords for a splurge before output. */