diff options
author | Nick Clifton <nickc@redhat.com> | 2013-07-19 13:16:17 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2013-07-19 13:16:17 +0000 |
commit | ee181c7253d6ebc43eb84d416178269fe567068c (patch) | |
tree | 6526ea5ee81dc8f8d0214224375cf6fbf917583e /bfd | |
parent | 1ae40aa4dfc6ae7e46e1680f7d7af7b04259f83d (diff) | |
download | gdb-ee181c7253d6ebc43eb84d416178269fe567068c.zip gdb-ee181c7253d6ebc43eb84d416178269fe567068c.tar.gz gdb-ee181c7253d6ebc43eb84d416178269fe567068c.tar.bz2 |
* elf32-rx.c (rx_elf_relocate_section): Fix typo: move
saw_subtract from R_RX_OPdiv to R_RX_OPneg.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elf32-rx.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 2fce0a8..d3d6ace 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2013-07-19 Nick Clifton <nickc@redhat.com> + + * elf32-rx.c (rx_elf_relocate_section): Fix typo: move + saw_subtract from R_RX_OPdiv to R_RX_OPneg. + 2013-07-18 Travis Snoozy <quandary@remstate.com> PR ld/15721 diff --git a/bfd/elf32-rx.c b/bfd/elf32-rx.c index 8cca4b1..39174bc 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; |