]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - bfd/elf32-xtensa.c
Introduce new section flag: SEC_ELF_OCTETS
[thirdparty/binutils-gdb.git] / bfd / elf32-xtensa.c
index 306b18b4f265fad72ab81afdf1230e7c213b7f33..31e9530256d3a33c1e04a18a67d20a90c13b17cd 100644 (file)
@@ -2103,7 +2103,8 @@ bfd_elf_xtensa_reloc (bfd *abfd,
 {
   bfd_vma relocation;
   bfd_reloc_status_type flag;
-  bfd_size_type octets = reloc_entry->address * bfd_octets_per_byte (abfd);
+  bfd_size_type octets = (reloc_entry->address
+                         * bfd_octets_per_byte (abfd, NULL));
   bfd_vma output_base = 0;
   reloc_howto_type *howto = reloc_entry->howto;
   asection *reloc_target_output_section;