Don't set BFD_DECOMPRESS when building against older binutils
This commit is contained in:
@@ -217,7 +217,9 @@ static bfd_entry_t *get_bfd_entry(char *filename)
|
|||||||
free(entry);
|
free(entry);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
#ifdef BFD_DECOMPRESS
|
||||||
entry->abfd->flags |= BFD_DECOMPRESS;
|
entry->abfd->flags |= BFD_DECOMPRESS;
|
||||||
|
#endif
|
||||||
if (bfd_check_format(entry->abfd, bfd_archive) == 0 &&
|
if (bfd_check_format(entry->abfd, bfd_archive) == 0 &&
|
||||||
bfd_check_format_matches(entry->abfd, bfd_object, NULL))
|
bfd_check_format_matches(entry->abfd, bfd_object, NULL))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user