projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8864fa
)
* section.c (bfd_make_section_anyway): Copy the whole
author
Alan Modra
<amodra@gmail.com>
Sat, 1 May 2004 14:20:26 +0000
(14:20 +0000)
committer
Alan Modra
<amodra@gmail.com>
Sat, 1 May 2004 14:20:26 +0000
(14:20 +0000)
bfd_hash_entry, not just "next" from existing entry.
bfd/ChangeLog
patch
|
blob
|
history
bfd/section.c
patch
|
blob
|
history
diff --git
a/bfd/ChangeLog
b/bfd/ChangeLog
index e7f9d7a467d88abaf8540144fa657f6c24b74fe0..19e9c700ffaeaf49334e485980496f18f1f503d2 100644
(file)
--- a/
bfd/ChangeLog
+++ b/
bfd/ChangeLog
@@
-1,3
+1,8
@@
+2004-05-01 Alan Modra <amodra@bigpond.net.au>
+
+ * section.c (bfd_make_section_anyway): Copy the whole
+ bfd_hash_entry, not just "next" from existing entry.
+
2004-04-30 H.J. Lu <hongjiu.lu@intel.com>
* elf.c (bfd_section_from_shdr): Maintain the section order in
diff --git
a/bfd/section.c
b/bfd/section.c
index 0236f08756c27bc0815eaaaa4b6e594942d35e7f..58508a27e4f357395a1673cc7b6382d9f4789e48 100644
(file)
--- a/
bfd/section.c
+++ b/
bfd/section.c
@@
-955,7
+955,7
@@
bfd_make_section_anyway (bfd *abfd, const char *name)
if (new_sh == NULL)
return NULL;
- new_sh->root
.next = sh->root.nex
t;
+ new_sh->root
= sh->roo
t;
sh->root.next = &new_sh->root;
newsect = &new_sh->section;
}