Following up on Tom's suggestion I am checking in a patch to replace the various
authorNick Clifton <nickc@redhat.com>
Wed, 29 Jan 2014 13:46:39 +0000 (13:46 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 29 Jan 2014 13:46:39 +0000 (13:46 +0000)
commit27b829ee701e29804216b3803fbaeb629be27491
tree7b1217c885e223af588fed86b72d8eff2bc3d683
parenta7c88acd1ed0b886e7aff708df153c5663a9ebbb
Following up on Tom's suggestion I am checking in a patch to replace the various
bfd_xxx_set macros with static inline functions, so that we can avoid compile time
warnings about comma expressions with unused values.

* bfd-in.h (bfd_set_section_vma): Delete.
(bfd_set_section_alignment): Delete.
(bfd_set_section_userdata): Delete.
(bfd_set_cacheable): Delete.
* bfd.c (bfd_set_cacheable): New static inline function.
* section.c (bfd_set_section_userdata): Likewise.
(bfd_set_section_vma): Likewise.
(bfd_set_section_alignment): Likewise.
* bfd-in2.h: Regenerate.
bfd/ChangeLog
bfd/bfd-in.h
bfd/bfd-in2.h
bfd/bfd.c
bfd/section.c