* elf/hppa.h (R_PARISC_DIR64WR, R_PARISC_DIR64DR): Remove relocs.
[deliverable/binutils-gdb.git] / bfd / elf32-m68k.c
index 146a86d312038476eb64f5585492286133312898..fec2bbb460a6f0e578eca87f851b4d16bd716bdb 100644 (file)
@@ -745,14 +745,16 @@ elf_m68k_check_relocs (abfd, info, sec, relocs)
                  else
                    {
                      asection *s;
+                     void *vpp;
+
                      s = (bfd_section_from_r_symndx
                           (abfd, &elf_m68k_hash_table (info)->sym_sec,
                            sec, r_symndx));
                      if (s == NULL)
                        return FALSE;
 
-                     head = ((struct elf_m68k_pcrel_relocs_copied **)
-                             &elf_section_data (s)->local_dynrel);
+                     vpp = &elf_section_data (s)->local_dynrel;
+                     head = (struct elf_m68k_pcrel_relocs_copied **) vpp;
                    }
 
                  for (p = *head; p != NULL; p = p->next)
@@ -1869,7 +1871,7 @@ elf_m68k_finish_dynamic_symbol (output_bfd, info, h, sym)
                  + got_offset
                  - (splt->output_section->vma
                     + h->plt.offset
-                    + CFV4E_FLAG (output_bfd) ? 8 : 2),
+                    + (CFV4E_FLAG (output_bfd) ? 8 : 2)),
                  splt->contents + h->plt.offset + plt_off1);
 
       bfd_put_32 (output_bfd, plt_index * sizeof (Elf32_External_Rela),
@@ -1882,7 +1884,7 @@ elf_m68k_finish_dynamic_symbol (output_bfd, info, h, sym)
                  (splt->output_section->vma
                   + splt->output_offset
                   + h->plt.offset
-                  + CFV4E_FLAG (output_bfd) ? 12 : 8),
+                  + (CFV4E_FLAG (output_bfd) ? 12 : 8)),
                  sgot->contents + got_offset);
 
       /* Fill in the entry in the .rela.plt section.  */
This page took 0.023468 seconds and 4 git commands to generate.