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]

Re: Patch for elf32-sh.c


   Date: Wed, 9 Aug 2000 10:47:16 +0100 (BST)
   From: Bernd Schmidt <bernds@cygnus.co.uk>

   This patch corrects a bug in sh_elf_reloc_loop.  A value is saved by
   a function for the next time it is called, but the variable used for saving
   it isn't static.

My general philosophy when maintaining BFD was to make all the
functions reentrant.  Therefore, no variables should be static.  I
would have stored the data in the BFD somewhere.

Ian

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