diff options
author | Nick Clifton <nickc@redhat.com> | 2005-07-18 14:13:36 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2005-07-18 14:13:36 +0000 |
commit | e729279b04301d65a619b1bad04b6aff686899b2 (patch) | |
tree | d8799f6fa285cb390b76df693af31c37d29298c8 /gas/config/tc-m32c.c | |
parent | 9edde48e00d4278aa430b25b96ee8703ebf3d880 (diff) | |
download | gdb-e729279b04301d65a619b1bad04b6aff686899b2.zip gdb-e729279b04301d65a619b1bad04b6aff686899b2.tar.gz gdb-e729279b04301d65a619b1bad04b6aff686899b2.tar.bz2 |
Fix building for MS1 and M32C.
Restore alpha- sorting to the architecture tables.
Diffstat (limited to 'gas/config/tc-m32c.c')
-rw-r--r-- | gas/config/tc-m32c.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gas/config/tc-m32c.c b/gas/config/tc-m32c.c index 8ee44f8..1a9ca40 100644 --- a/gas/config/tc-m32c.c +++ b/gas/config/tc-m32c.c @@ -156,7 +156,7 @@ md_begin (void) gas_cgen_cpu_desc = m32c_cgen_cpu_open (CGEN_CPU_OPEN_MACHS, cpu_mach, CGEN_CPU_OPEN_ENDIAN, CGEN_ENDIAN_BIG, - CGEN_CPU_OPEN_ISAS, & m32c_isa, + CGEN_CPU_OPEN_ISAS, m32c_isa, CGEN_CPU_OPEN_END); m32c_cgen_init_asm (gas_cgen_cpu_desc); @@ -757,6 +757,7 @@ md_cgen_lookup_reloc (const CGEN_INSN * insn ATTRIBUTE_UNUSED, { M32C_OPERAND_DSP_24_U24, BFD_RELOC_24, 3 }, { M32C_OPERAND_DSP_32_U24, BFD_RELOC_24, 4 }, { M32C_OPERAND_DSP_40_U24, BFD_RELOC_24, 5 }, + { M32C_OPERAND_DSP_8_U24, BFD_RELOC_24, 1 }, /* Absolute relocs for 32-bit fields. */ { M32C_OPERAND_IMM_16_SI, BFD_RELOC_32, 2 }, @@ -782,7 +783,7 @@ md_cgen_lookup_reloc (const CGEN_INSN * insn ATTRIBUTE_UNUSED, fprintf (stderr, - "Error: tc-m32c.c:md_cgen_lookup_reloc Unimplemented relocation %d\n", + "Error: tc-m32c.c:md_cgen_lookup_reloc Unimplemented relocation for operand %d\n", operand->type); return BFD_RELOC_NONE; @@ -1014,4 +1015,3 @@ m32c_is_colon_insn (char *start ATTRIBUTE_UNUSED) return 0; } - |