mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-26 10:43:31 +08:00
* elflink.h (elf_link_add_object_symbols): Set section_count to 0
when setting sections to NULL. PR 8600.
This commit is contained in:
parent
7609ecebac
commit
010d9f2d13
@ -1,3 +1,8 @@
|
||||
Fri Dec 8 17:47:07 1995 Ian Lance Taylor <ian@cygnus.com>
|
||||
|
||||
* elflink.h (elf_link_add_object_symbols): Set section_count to 0
|
||||
when setting sections to NULL.
|
||||
|
||||
Wed Dec 6 17:05:37 1995 Ian Lance Taylor <ian@cygnus.com>
|
||||
|
||||
* xcofflink.c (struct xcoff_loader_info): Add export_defineds
|
||||
|
@ -464,6 +464,7 @@ elf_link_add_object_symbols (abfd, info)
|
||||
still implies that the section takes up space in the output
|
||||
file. */
|
||||
abfd->sections = NULL;
|
||||
abfd->section_count = 0;
|
||||
|
||||
/* If this is the first dynamic object found in the link, create
|
||||
the special sections required for dynamic linking. */
|
||||
|
Loading…
Reference in New Issue
Block a user