PR29617, ld segfaults when bfd_close fails PR 29617 * ldmain.c (main): Don't access output_bfd after bfd_close.