* config/tc-xstormy16.c (md_cgen_lookup_reloc): Support
BFD_RELOC_XSTORMY16_12.
This commit is contained in:
parent
9a7e42b63f
commit
8f46beda1f
@ -1,3 +1,8 @@
|
|||||||
|
2002-12-20 DJ Delorie <dj@redhat.com>
|
||||||
|
|
||||||
|
* config/tc-xstormy16.c (md_cgen_lookup_reloc): Support
|
||||||
|
BFD_RELOC_XSTORMY16_12.
|
||||||
|
|
||||||
2002-12-19 Alan Modra <amodra@bigpond.net.au>
|
2002-12-19 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
* doc/as.texinfo (Invoking): Typo fix.
|
* doc/as.texinfo (Invoking): Typo fix.
|
||||||
|
@ -331,10 +331,13 @@ md_cgen_lookup_reloc (insn, operand, fixP)
|
|||||||
case XSTORMY16_OPERAND_IMM3:
|
case XSTORMY16_OPERAND_IMM3:
|
||||||
case XSTORMY16_OPERAND_IMM3B:
|
case XSTORMY16_OPERAND_IMM3B:
|
||||||
case XSTORMY16_OPERAND_IMM4:
|
case XSTORMY16_OPERAND_IMM4:
|
||||||
case XSTORMY16_OPERAND_IMM12:
|
|
||||||
case XSTORMY16_OPERAND_HMEM8:
|
case XSTORMY16_OPERAND_HMEM8:
|
||||||
return BFD_RELOC_NONE;
|
return BFD_RELOC_NONE;
|
||||||
|
|
||||||
|
case XSTORMY16_OPERAND_IMM12:
|
||||||
|
fixP->fx_where += 2;
|
||||||
|
return BFD_RELOC_XSTORMY16_12;
|
||||||
|
|
||||||
case XSTORMY16_OPERAND_IMM8:
|
case XSTORMY16_OPERAND_IMM8:
|
||||||
case XSTORMY16_OPERAND_LMEM8:
|
case XSTORMY16_OPERAND_LMEM8:
|
||||||
return fixP->fx_pcrel ? BFD_RELOC_8_PCREL : BFD_RELOC_8;
|
return fixP->fx_pcrel ? BFD_RELOC_8_PCREL : BFD_RELOC_8;
|
||||||
|
Loading…
Reference in New Issue
Block a user