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:
fa681e5
)
* section.c (bfd_make_section): Return NULL for existing section.
author
Alan Modra
<amodra@gmail.com>
Fri, 4 Jul 2003 04:14:56 +0000
(
04:14
+0000)
committer
Alan Modra
<amodra@gmail.com>
Fri, 4 Jul 2003 04:14:56 +0000
(
04:14
+0000)
bfd/ChangeLog
patch
|
blob
|
history
bfd/section.c
patch
|
blob
|
history
diff --git
a/bfd/ChangeLog
b/bfd/ChangeLog
index b9b0a4d90f29b602d341020e8011137339f5e8b2..6f9b28307fb74b69cdaf880737a16a6d15ab5add 100644
(file)
--- a/
bfd/ChangeLog
+++ b/
bfd/ChangeLog
@@
-1,3
+1,7
@@
+2003-07-04 Alan Modra <amodra@bigpond.net.au>
+
+ * section.c (bfd_make_section): Return NULL for existing section.
+
2003-07-04 Alan Modra <amodra@bigpond.net.au>
* elf32-ppc.c (ppc_elf_create_dynamic_sections): Don't call
diff --git
a/bfd/section.c
b/bfd/section.c
index 0f5ab9a29b43784c3aacbfe95f542f28df57d30e..020ab01fc55aacc276bf1e437b30a67af1ae4ded 100644
(file)
--- a/
bfd/section.c
+++ b/
bfd/section.c
@@
-1001,7
+1001,7
@@
bfd_make_section (bfd *abfd, const char *name)
if (newsect->name != NULL)
{
/* Section already exists. */
- return
newsect
;
+ return
NULL
;
}
newsect->name = name;