aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2009-10-19 15:30:06 +0000
committerDoug Evans <dje@google.com>2009-10-19 15:30:06 +0000
commitd71f39f5cf8851a549c9a9765f863dce86c79fc7 (patch)
tree7367449ff35d1cde059b0e73d7c0205c11b1f05c /gas/config
parent23f5dfcb86e294fd12926351d89f8918b5981b72 (diff)
downloadgdb-d71f39f5cf8851a549c9a9765f863dce86c79fc7.zip
gdb-d71f39f5cf8851a549c9a9765f863dce86c79fc7.tar.gz
gdb-d71f39f5cf8851a549c9a9765f863dce86c79fc7.tar.bz2
* config/tc-lm32.c (md_begin): Add missing call to bfd_set_arch_mach.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-lm32.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/config/tc-lm32.c b/gas/config/tc-lm32.c
index 5d02c3a..bbdd2c5 100644
--- a/gas/config/tc-lm32.c
+++ b/gas/config/tc-lm32.c
@@ -193,6 +193,9 @@ md_begin (void)
/* This is a callback from cgen to gas to parse operands. */
cgen_set_parse_operand_fn (gas_cgen_cpu_desc, gas_cgen_parse_operand);
+
+ if (! bfd_set_arch_mach (stdoutput, bfd_arch_lm32, bfd_mach_lm32))
+ as_warn (_("could not set architecture and machine"));
}
/* Turn an integer of n bytes (in val) into a stream of bytes appropriate