This is the mail archive of the binutils@sourceware.org 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]

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


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


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