[PATCH] ELF/BFD: Hold the number of internal static relocs in `->reloc_count'

Alan Modra amodra@gmail.com
Fri Jun 2 01:25:00 GMT 2017


On Fri, Jun 02, 2017 at 01:23:40AM +0100, Maciej W. Rozycki wrote:
>  I'll go with:
> 
>       size = o->reloc_count;
>       size *= sizeof (Elf_Internal_Rela);
> 
> then if you don't mind.  I find explicit casts worsen code readability.

Fine by me.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list