* dlltool.c (make_one_lib_file): Clear .idata$6 before use.
(main): Fail if the output file specified by the -z option cannot
be opened.
+2015-05-29 Stephen Kitt <steve@sk2.org>
+
+ * dlltool.c (make_one_lib_file): Clear .idata$6 before use.
+ (main): Fail if the output file specified by the -z option cannot
+ be opened.
+
2015-05-18 Nick Clifton <nickc@redhat.com>
PR binutils/18420
else
si->size = strlen (xlate (exp->import_name)) + 3;
si->data = xmalloc (si->size);
+ memset (si->data, 0, si->size);
si->data[0] = idx & 0xff;
si->data[1] = idx >> 8;
if (exp->its_name)
break;
case 'z':
output_def = fopen (optarg, FOPEN_WT);
+ if (!output_def)
+ /* xgettext:c-format */
+ fatal (_("Unable to open def-file: %s"), optarg);
break;
case 'D':
dll_name = (char*) lbasename (optarg);