This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[patch/rfa] Fix build problem with IRIX compiler
- From: Andrew Cagney <ac131313 at ges dot redhat dot com>
- To: binutils at sources dot redhat dot com
- Cc: Michael Snyder <msnyder at redhat dot com>
- Date: Fri, 16 Aug 2002 15:59:09 -0400
- Subject: [patch/rfa] Fix build problem with IRIX compiler
Hello,
The attached fixes a BFD build problem with the IRIX compiler (PTR was
``void *'' which can't be incremented).
Ok?
Andrew
Thu Aug 15 15:38:04 2002 Andrew Cagney <cagney@redhat.com>
* elf.c (bfd_elf_get_elf_syms): Change type of `esym' to
`bfd_byte'.
Index: elf.c
===================================================================
RCS file: /cvs/src/src/bfd/elf.c,v
retrieving revision 1.158
diff -u -r1.158 elf.c
--- elf.c 30 Jul 2002 14:28:54 -0000 1.158
+++ elf.c 16 Aug 2002 19:55:33 -0000
@@ -371,7 +371,7 @@
{
Elf_Internal_Shdr *shndx_hdr;
PTR alloc_ext;
- const PTR esym;
+ const bfd_byte *esym;
Elf_External_Sym_Shndx *alloc_extshndx;
Elf_External_Sym_Shndx *shndx;
Elf_Internal_Sym *isym;