Copy BFD_COMPRESS/BFD_DECOMPRESS/BFD_COMPRESS_GABI for thin archive
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 30 Aug 2019 14:46:15 +0000 (07:46 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 30 Aug 2019 14:46:27 +0000 (07:46 -0700)
commit6744bcad05396a5901149a202270e523e454769d
treebe6fb48126d26bd3d20447ba470a4bb7d6146758
parent1c1e0fe58b9389bd40f5f642d20dc2e1befd4541
Copy BFD_COMPRESS/BFD_DECOMPRESS/BFD_COMPRESS_GABI for thin archive

We need to copy BFD_COMPRESS, BFD_DECOMPRESS and BFD_COMPRESS_GABI flags
for thin archive.

PR ld/24951
* archive.c (_bfd_get_elt_at_filepos): Copy BFD_COMPRESS,
BFD_DECOMPRESS and BFD_COMPRESS_GABI flags for thin archive.
bfd/ChangeLog
bfd/archive.c