mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 12:03:41 +08:00
* section.c (bfd_make_section): Return NULL for existing section.
This commit is contained in:
parent
fa681e5d43
commit
003d627e6e
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user