* 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>
|
||||
|
||||
* elf32-hppa.c (clobber_millicode_symbols): Remove hack to keep
|
||||
|
@ -804,6 +804,9 @@ _bfd_merge_sections (abfd, xsinfo, remove_hook)
|
||||
if (secinfo)
|
||||
continue;
|
||||
|
||||
if (sinfo->htab->first == NULL)
|
||||
continue;
|
||||
|
||||
if (sinfo->htab->strings)
|
||||
merge_strings (sinfo);
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user