diff options
Diffstat (limited to 'gas/config/tc-moxie.c')
-rw-r--r-- | gas/config/tc-moxie.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gas/config/tc-moxie.c b/gas/config/tc-moxie.c index 430a144..02a59b7 100644 --- a/gas/config/tc-moxie.c +++ b/gas/config/tc-moxie.c @@ -46,7 +46,6 @@ static valueT md_chars_to_number (char * buf, int n); /* Byte order. */ extern int target_big_endian; -const char *moxie_target_format = DEFAULT_TARGET_FORMAT; void md_operand (expressionS *op __attribute__((unused))) @@ -75,6 +74,8 @@ md_begin (void) for (count = 0, opcode = moxie_form3_opc_info; count++ < 10; opcode++) hash_insert (opcode_hash_control, opcode->name, (char *) opcode); + target_big_endian = TARGET_BYTES_BIG_ENDIAN; + bfd_set_arch_mach (stdoutput, TARGET_ARCH, 0); } @@ -617,11 +618,9 @@ md_parse_option (int c ATTRIBUTE_UNUSED, char *arg ATTRIBUTE_UNUSED) { case OPTION_EB: target_big_endian = 1; - moxie_target_format = "elf32-bigmoxie"; break; case OPTION_EL: target_big_endian = 0; - moxie_target_format = "elf32-littlemoxie"; break; default: return 0; |