* elf32-arm.c (elf32_arm_output_symbol_hook): Install new entry into the
[deliverable/binutils-gdb.git] / bfd / oasys.c
index 2647f82f00c3a30efb489a41029c14384181d264..74d2c310a037ffb8d9d8932655cf35eaae94ca1b 100644 (file)
@@ -384,11 +384,13 @@ oasys_slurp_section_data (bfd *const abfd)
 
            if (! per->initialized)
              {
+               arelent **relpp;
+
                per->data = bfd_zalloc (abfd, section->size);
                if (!per->data)
                  return FALSE;
-               per->reloc_tail_ptr
-                 = (oasys_reloc_type **) &section->relocation;
+               relpp = &section->relocation;
+               per->reloc_tail_ptr = (oasys_reloc_type **) relpp;
                per->had_vma = FALSE;
                per->initialized = TRUE;
                section->reloc_count = 0;
This page took 0.023798 seconds and 4 git commands to generate.