diff options
Diffstat (limited to 'gas/config/tc-mn10300.c')
-rw-r--r-- | gas/config/tc-mn10300.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gas/config/tc-mn10300.c b/gas/config/tc-mn10300.c index e36d0f9..8324646 100644 --- a/gas/config/tc-mn10300.c +++ b/gas/config/tc-mn10300.c @@ -1213,10 +1213,17 @@ md_begin () } /* Set the default machine type. */ +#ifdef TE_LINUX + if (!bfd_set_arch_mach (stdoutput, bfd_arch_mn10300, AM33_2)) + as_warn (_("could not set architecture and machine")); + + current_machine = AM33_2; +#else if (!bfd_set_arch_mach (stdoutput, bfd_arch_mn10300, MN103)) as_warn (_("could not set architecture and machine")); current_machine = MN103; +#endif } static symbolS *GOT_symbol; |