This reverts commit
a2ceac895716f71daf67eca5b5897bf316500749,
but adds back unconditional BFD_DECOMPRESS, as per amodra:
https://inbox.sourceware.org/binutils/afPQ5BGfFQHYBny1@squeak.grove.modra.org/
Signed-off-by: Frank Ch. Eigler <fche@elastic.org>
{
if (bfd_check_format (debug_bfd, bfd_object))
{
+ /* Successfully opened the debug file.
+ Enable decompression on the debug file. */
+ debug_bfd->flags |= BFD_DECOMPRESS;
+
/* Store the debug BFD for use during symbol reading.
We'll use this for bfd_canonicalize_symtab and other symbol ops. */
core_debug_bfd = debug_bfd;