* xcofflink.c (bfd_xcoff_size_dynamic_sections): Clear

special_sections before returning when called with a non XCOFF
	BFD.
This commit is contained in:
Ian Lance Taylor 1995-11-21 21:25:35 +00:00
parent 13eb3290f3
commit 83dcdc6168
2 changed files with 9 additions and 1 deletions

View File

@ -1,5 +1,9 @@
Tue Nov 21 13:03:57 1995 Ian Lance Taylor <ian@cygnus.com>
* xcofflink.c (bfd_xcoff_size_dynamic_sections): Clear
special_sections before returning when called with a non XCOFF
BFD.
* coffgen.c (coff_renumber_symbols): Sort common symbols with
global symbols.

View File

@ -2634,7 +2634,11 @@ bfd_xcoff_size_dynamic_sections (output_bfd, info, libpath, entry,
bfd_byte *debug_contents = NULL;
if (! XCOFF_XVECP (output_bfd->xvec))
return true;
{
for (i = 0; i < 6; i++)
special_sections[i] = NULL;
return true;
}
ldinfo.failed = false;
ldinfo.output_bfd = output_bfd;