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] add casts to avoid arithmetic on void *


Hi Trev,

>         Unfortunately most of the
>         argument types come from virtual function interfaces so changing the
>         types to bfd_byte * isn't trivial though it might make the code clearer.

This would certainly be worth looking into at a later date.

> 2016-04-21  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
> 
> 	* elf32-rx.c (rx_set_section_contents): Avoid arithmetic on void *.
> 	* mmo.c (mmo_get_section_contents): Likewise.
> 	(mmo_set_section_contents): Likewise.

Approved - please apply.

Cheers
  Nick


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