bfd_byte * before performing pointer arithmetic.
+1999-06-22 Mark Mitchell <mark@codesourcery.com>
+
+ * elflink.h (link_read_relocs): Explicitly cast external_relocs to
+ bfd_byte * before performing pointer arithmetic.
+
Tue Jun 22 13:06:25 1999 Jeffrey A Law (law@cygnus.com)
* elf-hppa.h: New file. Common stuff for elf32 and elf64 PA
if (!elf_link_read_relocs_from_section
(abfd,
elf_section_data (o)->rel_hdr2,
- external_relocs + rel_hdr->sh_size,
+ ((bfd_byte *) external_relocs) + rel_hdr->sh_size,
internal_relocs + rel_hdr->sh_size / rel_hdr->sh_entsize))
goto error_return;