aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>1998-11-26 16:25:34 +0000
committerDave Brolley <brolley@redhat.com>1998-11-26 16:25:34 +0000
commit46530d767a7a6febf8479b3e9d83b844ac848ed1 (patch)
tree14a7355aadbbc0a94b58c64217ea127d65c9c87f /gas
parent3f298868ce4951f2baf69804d965643f717e1151 (diff)
downloadgdb-46530d767a7a6febf8479b3e9d83b844ac848ed1.zip
gdb-46530d767a7a6febf8479b3e9d83b844ac848ed1.tar.gz
gdb-46530d767a7a6febf8479b3e9d83b844ac848ed1.tar.bz2
Thu Nov 26 11:23:48 1998 Dave Brolley <brolley@cygnus.com>
* config/tc-fr30.c (md_pcrel_from_section): Restore previous calculation of pcrel point. ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
Diffstat (limited to 'gas')
-rw-r--r--gas/config/tc-fr30.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-fr30.c b/gas/config/tc-fr30.c
index 74997fb..9925e9d 100644
--- a/gas/config/tc-fr30.c
+++ b/gas/config/tc-fr30.c
@@ -424,7 +424,7 @@ md_pcrel_from_section (fixP, sec)
return 0;
}
- return (fixP->fx_frag->fr_address + fixP->fx_where + 2) & ~1;
+ return (fixP->fx_frag->fr_address + fixP->fx_where) & ~1;
}
/* Return the bfd reloc type for OPERAND of INSN at fixup FIXP.