OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains3x.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49d98e7
)
* merge.c (_bfd_merge_sections): Don't segfault if there
author
jakub
<jakub>
Tue, 5 Mar 2002 12:19:07 +0000
(12:19 +0000)
committer
jakub
<jakub>
Tue, 5 Mar 2002 12:19:07 +0000
(12:19 +0000)
is nothing to merge due to GC.
bfd/ChangeLog
patch
|
blob
|
history
bfd/merge.c
patch
|
blob
|
history
diff --git
a/bfd/ChangeLog
b/bfd/ChangeLog
index
bcc16f3
..
a53bcbc
100644
(file)
--- a/
bfd/ChangeLog
+++ b/
bfd/ChangeLog
@@
-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
diff --git
a/bfd/merge.c
b/bfd/merge.c
index
7b06c10
..
e175efd
100644
(file)
--- a/
bfd/merge.c
+++ b/
bfd/merge.c
@@
-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