diff options
author | Alan Modra <amodra@gmail.com> | 2003-07-04 04:14:56 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2003-07-04 04:14:56 +0000 |
commit | 003d627e6e3f1826116f57ee1b986e0519585f63 (patch) | |
tree | c85877322d48ed22b1ab88fef519ac6db06943ff /bfd/section.c | |
parent | fa681e5d439f42212e289b850327cb2fd7f2f6bb (diff) | |
download | gdb-003d627e6e3f1826116f57ee1b986e0519585f63.zip gdb-003d627e6e3f1826116f57ee1b986e0519585f63.tar.gz gdb-003d627e6e3f1826116f57ee1b986e0519585f63.tar.bz2 |
* section.c (bfd_make_section): Return NULL for existing section.
Diffstat (limited to 'bfd/section.c')
-rw-r--r-- | bfd/section.c | 2 |
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; |