[PATCH] Fix elf32-ppc.c with >= 8192 .plt entries

Alan Modra amodra@bigpond.net.au
Sat May 31 02:38:00 GMT 2003


On Sat, May 31, 2003 at 12:37:39AM +0200, Jakub Jelinek wrote:
> 	* elf32-ppc.c (allocate_dynrelocs): Use single slot for first 8192
> 	plt entries, not just 8191.

Please commit this to the 2.14 branch as well.  Thanks!
I broke this when "optimizing"

   if (condition on size)
     size += 2*delta;
   else
     size += delta;

to

   size += delta;
   if (condition on size)
     size += delta;

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list