elfedit.c: Replace BYTE_PUT with byte_put
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 25 Oct 2019 22:06:39 +0000 (15:06 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 25 Oct 2019 22:06:39 +0000 (15:06 -0700)
commit256878f318c60cbcc145fc95936035e0f7ff1af6
tree2f59866e6a3734963674eb9c858604e18f489d02
parent1834d45f0ff231bf74de3b0305949cf991470a35
elfedit.c: Replace BYTE_PUT with byte_put

Since BYTE_PUT is defined as

 #define BYTE_PUT(field, val) byte_put (field, val, sizeof (field))

use byte_put, instead of BYTE_PUT, to put 4-byte bitmask at ptr with
"byte_put (ptr, bitmask, 4)", instead of "BYTE_PUT (ptr, bitmask)", to
work with "unsigned char *ptr".

* elfedit.c (update_gnu_property): Replace BYTE_PUT with byte_put.
binutils/ChangeLog
binutils/elfedit.c
This page took 0.02417 seconds and 4 git commands to generate.