* merge.c (_bfd_merge_sections): Don't segfault if there
is nothing to merge due to GC.
This commit is contained in:
parent
2d13d8c5ee
commit
86eaf01e5d
|
@ -1,3 +1,8 @@
|
||||||
|
2002-03-05 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
|
* merge.c (_bfd_merge_sections): Don't segfault if there
|
||||||
|
is nothing to merge due to GC.
|
||||||
|
|
||||||
2002-03-05 Alan Modra <amodra@bigpond.net.au>
|
2002-03-05 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
* elf32-hppa.c (clobber_millicode_symbols): Remove hack to keep
|
* elf32-hppa.c (clobber_millicode_symbols): Remove hack to keep
|
||||||
|
|
|
@ -804,6 +804,9 @@ _bfd_merge_sections (abfd, xsinfo, remove_hook)
|
||||||
if (secinfo)
|
if (secinfo)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
if (sinfo->htab->first == NULL)
|
||||||
|
continue;
|
||||||
|
|
||||||
if (sinfo->htab->strings)
|
if (sinfo->htab->strings)
|
||||||
merge_strings (sinfo);
|
merge_strings (sinfo);
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue