tekhex architecure
is a don't care. * tekhex.c (tekhex_set_arch_mach): Ignore unknown arch errors.
This commit is contained in:
parent
e5242d4bed
commit
56aedec7ab
2 changed files with 7 additions and 1 deletions
|
@ -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>
|
||||
|
||||
* tekhex.c (CHUNK_SPAN): Define.
|
||||
|
|
|
@ -677,7 +677,9 @@ tekhex_set_arch_mach (bfd *abfd,
|
|||
enum bfd_architecture arch,
|
||||
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. */
|
||||
|
|
Loading…
Reference in a new issue