From: Alexandre Oliva Date: Wed, 9 May 2001 13:32:01 +0000 (+0000) Subject: * config/tc-mn10300.c (md_apply_fix3): Accept PC-relative relocs. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=96f37af640dc063447f69cccf024cac29d06a1c3;p=binutils-gdb.git * config/tc-mn10300.c (md_apply_fix3): Accept PC-relative relocs. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index a441aa8158d..0116a254948 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2001-05-09 Alexandre Oliva + + * config/tc-mn10300.c (md_apply_fix3): Accept PC-relative relocs. + 2001-05-08 Andreas Schwab * config/tc-m68k.c: Instead of replacing -1 by 64 in assignment to diff --git a/gas/config/tc-mn10300.c b/gas/config/tc-mn10300.c index 59e13c70631..5e2ba77b92b 100644 --- a/gas/config/tc-mn10300.c +++ b/gas/config/tc-mn10300.c @@ -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;