* elf32-rx.c (rx_elf_relocate_section): Fix typo: move

saw_subtract from R_RX_OPdiv to R_RX_OPneg.
This commit is contained in:
Nick Clifton 2013-07-19 13:16:17 +00:00
parent 1ae40aa4df
commit ee181c7253
2 changed files with 6 additions and 1 deletions

View file

@ -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;