mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-15 05:01:13 +08:00
* config/tc-lm32.c (md_begin): Add missing call to bfd_set_arch_mach.
This commit is contained in:
@ -1,5 +1,7 @@
|
|||||||
2009-10-19 Doug Evans <dje@sebabeach.org>
|
2009-10-19 Doug Evans <dje@sebabeach.org>
|
||||||
|
|
||||||
|
* config/tc-lm32.c (md_begin): Add missing call to bfd_set_arch_mach.
|
||||||
|
|
||||||
* config/tc-xc16x.c (md_cgen_lookup_reloc): Ensure fix_size is set
|
* config/tc-xc16x.c (md_cgen_lookup_reloc): Ensure fix_size is set
|
||||||
correctly for all 16 bit relocs. Return BFD_RELOC_NONE if reloc
|
correctly for all 16 bit relocs. Return BFD_RELOC_NONE if reloc
|
||||||
isn't recognized, not BFD_RELOC_XC16X_SOF.
|
isn't recognized, not BFD_RELOC_XC16X_SOF.
|
||||||
|
@ -193,6 +193,9 @@ md_begin (void)
|
|||||||
|
|
||||||
/* This is a callback from cgen to gas to parse operands. */
|
/* This is a callback from cgen to gas to parse operands. */
|
||||||
cgen_set_parse_operand_fn (gas_cgen_cpu_desc, gas_cgen_parse_operand);
|
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
|
/* Turn an integer of n bytes (in val) into a stream of bytes appropriate
|
||||||
|
Reference in New Issue
Block a user