* ldlang.c (delete_output_file_on_failure): New variable.
(open_output): Set it after bfd open succeeds.
* ldmisc.c (vfinfo): Test it.
Changes from Peter Hoogenboom, hoogen@cs.utah.edu:
* ldsym.c (write_file_locals): Set the BSF_FILE flag for object symbols.
* ldemul.c: Support was added to allow emulation-specific processing to occur.
This support was added primarily for linker stub generation in the elf32-hppa
gld.
(ldemul_finish, ldemul_create_output_section_statements): New functions.
* ldemul.h: Support was added to allow emulation-specific processing to occur.
(As described above.) Added finish and create_output_section_statements fields
to ld_emulation_xfer_struct structure.
* ldlang.c: Add calls to emulation-specific routines.
(lang_process): Add call to ldemul_create_output_section_statements function.
(lang_process): Add call to a emulation-specific routine (and
some processing after the call).