projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Change moxie branch target encodings.
[deliverable/binutils-gdb.git]
/
gas
/
config
/
tc-moxie.c
diff --git
a/gas/config/tc-moxie.c
b/gas/config/tc-moxie.c
index 2fffc6594c8c8831125cbdf67b6ee29ad0c9a9d1..e73887dc9cb238ebae5cb89c3abdb70ff93f5b79 100644
(file)
--- a/
gas/config/tc-moxie.c
+++ b/
gas/config/tc-moxie.c
@@
-774,7
+774,8
@@
md_pcrel_from (fixS *fixP)
case BFD_RELOC_32:
return addr + 4;
case BFD_RELOC_MOXIE_10_PCREL:
- return addr;
+ /* Offset is from the end of the instruction. */
+ return addr + 2;
default:
abort ();
return addr;
This page took
0.022578 seconds
and
4
git commands to generate.