aboutsummaryrefslogtreecommitdiff
path: root/bfd/riscix.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/riscix.c')
-rw-r--r--bfd/riscix.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/bfd/riscix.c b/bfd/riscix.c
index f9b5ae2..973cb76 100644
--- a/bfd/riscix.c
+++ b/bfd/riscix.c
@@ -331,11 +331,6 @@ riscix_swap_std_reloc_out (abfd, g, natptr)
if (r_length == 3)
r_pcrel = r_pcrel ? 0 : 1;
-#if 0
- /* For a standard reloc, the addend is in the object file. */
- r_addend = g->addend + (*(g->sym_ptr_ptr))->section->output_section->vma;
-#endif
-
/* name was clobbered by aout_write_syms to be symbol index */
/* If this relocation is relative to a symbol then set the