aboutsummaryrefslogtreecommitdiff
path: root/bfd/section.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/section.c')
-rw-r--r--bfd/section.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/section.c b/bfd/section.c
index 0f5ab9a..020ab01 100644
--- 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;