mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-25 05:00:01 +00:00
* config/tc-xstormy16.c (md_cgen_lookup_reloc): If a relocation
has already been set up, use it.
This commit is contained in:
parent
46f2b5418f
commit
9bb76eb8a6
@ -1,3 +1,8 @@
|
||||
2002-12-16 Andrew MacLeod <amacleod@redhat.com>
|
||||
|
||||
* config/tc-xstormy16.c (md_cgen_lookup_reloc): If a relocation
|
||||
has already been set up, use it.
|
||||
|
||||
2002-12-16 Kazu Hirata <kazu@cs.umass.edu>
|
||||
|
||||
* ChangeLog-9295: Fix a typo.
|
||||
|
@ -340,7 +340,10 @@ md_cgen_lookup_reloc (insn, operand, fixP)
|
||||
return fixP->fx_pcrel ? BFD_RELOC_8_PCREL : BFD_RELOC_8;
|
||||
|
||||
case XSTORMY16_OPERAND_IMM16:
|
||||
/* This might have been processed at parse time. */
|
||||
fixP->fx_where += 2;
|
||||
if (fixP->fx_cgen.opinfo && fixP->fx_cgen.opinfo != BFD_RELOC_NONE)
|
||||
return fixP->fx_cgen.opinfo;
|
||||
return fixP->fx_pcrel ? BFD_RELOC_16_PCREL : BFD_RELOC_16;
|
||||
|
||||
case XSTORMY16_OPERAND_ABS24:
|
||||
|
Loading…
Reference in New Issue
Block a user