aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2001-05-09 13:32:01 +0000
committerAlexandre Oliva <aoliva@redhat.com>2001-05-09 13:32:01 +0000
commit96f37af640dc063447f69cccf024cac29d06a1c3 (patch)
tree58774577778f09986599b795351211cb67d479e9 /gas/config
parentd7a0d72c953815f254dbaa7745deb63d28e93aec (diff)
downloadgdb-96f37af640dc063447f69cccf024cac29d06a1c3.zip
gdb-96f37af640dc063447f69cccf024cac29d06a1c3.tar.gz
gdb-96f37af640dc063447f69cccf024cac29d06a1c3.tar.bz2
* config/tc-mn10300.c (md_apply_fix3): Accept PC-relative relocs.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-mn10300.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/config/tc-mn10300.c b/gas/config/tc-mn10300.c
index 59e13c7..5e2ba77 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;