Set BFD compression bits in write_object_file
authorH.J. Lu <hjl.tools@gmail.com>
Sun, 21 Feb 2016 14:43:20 +0000 (06:43 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Sun, 21 Feb 2016 14:46:11 +0000 (06:46 -0800)
commit8ecb73ddd7efde747f9b025cb624e378bc994db5
tree27dd0ab0bbf1f9c051a710aa46edfbee6cafa12f
parent95693d0804f33f3cce683cee1fb283e3e8fa558f
Set BFD compression bits in write_object_file

There is no need to set BFD compression bits for each section.  We
should just set it once in write_object_file.

* write.c (compress_debug): Move BFD compression bits setting
to ...
(write_object_file): Here.
gas/ChangeLog
gas/write.c