aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-moxie.c
diff options
context:
space:
mode:
authorAnthony Green <green@moxielogic.com>2014-07-27 08:51:20 -0400
committerAnthony Green <green@moxielogic.com>2014-07-27 08:51:20 -0400
commit48494700d58ee0dc781d288191679072cbaf9d16 (patch)
treee08d09f8663a2c6afcdb3cf783b310b79461fc88 /gas/config/tc-moxie.c
parente76c5d173bbf7137555919dd136004a7c0118af7 (diff)
downloadgdb-48494700d58ee0dc781d288191679072cbaf9d16.zip
gdb-48494700d58ee0dc781d288191679072cbaf9d16.tar.gz
gdb-48494700d58ee0dc781d288191679072cbaf9d16.tar.bz2
Add moxiebox target
Diffstat (limited to 'gas/config/tc-moxie.c')
-rw-r--r--gas/config/tc-moxie.c5
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;