change argument type to bfd_byte
authorTrevor Saunders <tbsaunde+binutils@tbsaunde.org>
Wed, 13 Apr 2016 08:41:23 +0000 (04:41 -0400)
committerTrevor Saunders <tbsaunde+binutils@tbsaunde.org>
Wed, 20 Apr 2016 10:57:44 +0000 (06:57 -0400)
commitb98e6871247e1ef764360f6d042254ce4af62ca4
tree1fe085402eb31be2d95b0bd7b451a59b6963e971
parent2533af11baa8a9a330798a2add1a59183e3b5c75
change argument type to bfd_byte

We operate on the pointer's target as a set of bytes, and this avoids doing
arithmetic on void * which is undefined in ISO C.

bfd/ChangeLog:

2016-04-20  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>

* elf32-arm.c (put_thumb2_insn): Change argument type to bfd_byte *.
bfd/ChangeLog
bfd/elf32-arm.c