bfd/elf32-arm.c: Rename 'popcount' to 'elf32_arm_popcount'
authorChristian Groessler <chris@groessler.org>
Mon, 19 Dec 2016 12:56:22 +0000 (13:56 +0100)
committerChristian Groessler <chris@groessler.org>
Mon, 19 Dec 2016 13:03:26 +0000 (14:03 +0100)
commitb25e998d0be7d7ec2a14bfdca03370155355d215
tree20a8991c3f2ad70b55dc42aee16226297cad6b82
parent91068ec6ae02e85c5ca4fbe3c6e214bd87bb872f
bfd/elf32-arm.c: Rename 'popcount' to 'elf32_arm_popcount'

bfd/elf32_arm.c contains a function 'popcount' which conflicts
with a function of the same name in NetBSD's libc.
This change also changes popcount's 'sum' variable to signed
since the function returns a signed integer.

bfd/
* elf32-arm.c (elf32_arm_popcount): Rename from 'popcount'.  Make
'sum' local variable signed.
bfd/ChangeLog
bfd/elf32-arm.c