summaryrefslogtreecommitdiff
path: root/bfd/elf32-rx.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2013-07-19 13:16:17 +0000
committerNick Clifton <nickc@redhat.com>2013-07-19 13:16:17 +0000
commit3301e67ee936067c32ecd4d28912154afa0d382f (patch)
tree1f35379399be42f0cf6e87ac2deba87b600f6ee5 /bfd/elf32-rx.c
parentf9d4ab572c10aeb0812d43412676623ddb4edf6e (diff)
downloadbinutils-redhat-3301e67ee936067c32ecd4d28912154afa0d382f.tar.gz
* elf32-rx.c (rx_elf_relocate_section): Fix typo: move
saw_subtract from R_RX_OPdiv to R_RX_OPneg.
Diffstat (limited to 'bfd/elf32-rx.c')
-rw-r--r--bfd/elf32-rx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-rx.c b/bfd/elf32-rx.c
index 8cca4b186e..39174bc4d1 100644
--- a/bfd/elf32-rx.c
+++ b/bfd/elf32-rx.c
@@ -1163,6 +1163,7 @@ rx_elf_relocate_section
{
int32_t tmp;
+ saw_subtract = TRUE;
RX_STACK_POP (tmp);
tmp = - tmp;
RX_STACK_PUSH (tmp);
@@ -1207,7 +1208,6 @@ rx_elf_relocate_section
{
int32_t tmp1, tmp2;
- saw_subtract = TRUE;
RX_STACK_POP (tmp1);
RX_STACK_POP (tmp2);
tmp1 /= tmp2;