Patch for elf32-sh.c
Ian Lance Taylor
ian@zembu.com
Wed Aug 9 09:21:00 GMT 2000
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
More information about the Binutils
mailing list