* opncls.c (_maybe_make_executable): New function. Gives execute
authorNick Clifton <nickc@redhat.com>
Fri, 12 Jun 2009 12:04:19 +0000 (12:04 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 12 Jun 2009 12:04:19 +0000 (12:04 +0000)
commit8c7d38e8f0eb20955214cca062ff6deec0c60db3
treeba5f19f940491d60deaeb470c710299a4a062e4a
parentd3a44ec61fa6afe54544fca32485cc47921fe7dc
* opncls.c (_maybe_make_executable): New function.  Gives execute
        permission to an executable bfd that was opened for writing
        provided that it is a regular file.  Replaces common code found in...
        (bfd_close): here and ...
        (bfd_close_all_done): here.
bfd/ChangeLog
bfd/opncls.c