Introduce new section flag: SEC_ELF_OCTETS
[deliverable/binutils-gdb.git] / bfd / elf32-ppc.c
index b9bcc506ae7e67c7976350f4dae04d42fd3b9028..0e6a3476d28b7c7addaa5cdf1a5f161d28b52746 100644 (file)
@@ -956,7 +956,7 @@ ppc_elf_addr16_ha_reloc (bfd *abfd,
            + input_section->output_section->vma);
   value >>= 16;
 
-  octets = reloc_entry->address * bfd_octets_per_byte (abfd);
+  octets = reloc_entry->address * bfd_octets_per_byte (abfd, NULL);
   insn = bfd_get_32 (abfd, (bfd_byte *) data + octets);
   insn &= ~0x1fffc1;
   insn |= (value & 0xffc1) | ((value & 0x3e) << 15);
This page took 0.026601 seconds and 4 git commands to generate.