* config/tc-mn10300.c (md_apply_fix3): Accept PC-relative relocs.
This commit is contained in:
parent
d7a0d72c95
commit
96f37af640
|
@ -1,3 +1,7 @@
|
|||
2001-05-09 Alexandre Oliva <aoliva@redhat.com>
|
||||
|
||||
* config/tc-mn10300.c (md_apply_fix3): Accept PC-relative relocs.
|
||||
|
||||
2001-05-08 Andreas Schwab <schwab@suse.de>
|
||||
|
||||
* config/tc-m68k.c: Instead of replacing -1 by 64 in assignment to
|
||||
|
|
|
@ -1901,14 +1901,17 @@ md_apply_fix3 (fixp, valuep, seg)
|
|||
switch (fixp->fx_r_type)
|
||||
{
|
||||
case BFD_RELOC_8:
|
||||
case BFD_RELOC_8_PCREL:
|
||||
size = 1;
|
||||
break;
|
||||
|
||||
case BFD_RELOC_16:
|
||||
case BFD_RELOC_16_PCREL:
|
||||
size = 2;
|
||||
break;
|
||||
|
||||
case BFD_RELOC_32:
|
||||
case BFD_RELOC_32_PCREL:
|
||||
size = 4;
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in New Issue