* config/tc-mn10300.c (md_apply_fix3): Accept PC-relative relocs.

This commit is contained in:
Alexandre Oliva 2001-05-09 13:32:01 +00:00
parent d7a0d72c95
commit 96f37af640
2 changed files with 7 additions and 0 deletions

View File

@ -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

View File

@ -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;