This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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;

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]