GCC trunk now defaults to -std=gnu23. We return false in a few places
which can't work when true/false are a proper type (_Bool). Return NULL
where appropriate instead of false. All callers handle this appropriately.
ChangeLog:
PR ld/32372
* pdb.c (add_stream): Return NULL.
(cherry picked from commit
bf447eec6d7b69cba652127e2f38f102de38de39)
if (!bfd_make_writable (stream))
{
bfd_close (stream);
- return false;
+ return NULL;
}
if (!pdb->archive_head)