aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2003-07-07 15:51:57 +0000
committerAlan Modra <amodra@gmail.com>2003-07-07 15:51:57 +0000
commit58111eb706ef184e316ba397ce27abbc03c244ae (patch)
tree94885a7ea162797416f87a2ef882943a6fe13146 /bfd/elf.c
parentfd8f87c5ee748e4422976989ae1b4371cca639b3 (diff)
downloadgdb-58111eb706ef184e316ba397ce27abbc03c244ae.zip
gdb-58111eb706ef184e316ba397ce27abbc03c244ae.tar.gz
gdb-58111eb706ef184e316ba397ce27abbc03c244ae.tar.bz2
* elf-bfd.h (struct elf_link_hash_entry): Remove linker_section_pointer
field. (enum elf_linker_section_enum): Delete. (struct elf_linker_section): Delete. (struct elf_linker_section_pointers): Delete. (struct elf_obj_tdata): Remove #if 0 chunk. Remove linker_section. Make linker_section_pointers a void**. (elf_local_ptr_offsets, elf_linker_section): Don't define. * elf32-ppc.c (enum elf_linker_section_enum): New, cut-down version of old item in elf-bfd.h. (struct elf_linker_section): Likewise. (struct elf_linker_section_pointers): Likewise. (elf_local_ptr_offsets): Define. (struct ppc_elf_link_hash_entry): Add linker_section_pointer. (ppc_elf_link_hash_newfunc): Init it. (struct ppc_elf_link_hash_table): Add sbss. (ppc_elf_link_hash_table_create): zmalloc rather than clearing individual fields. (elf_create_linker_section): Fold into.. (ppc_elf_create_linker_section): ..here. Remove hole_size code. Make rela section here if shared. (elf_find_pointer_linker_section): Pass lsect rather than enum. (elf_create_pointer_linker_section): Adjust. zalloc rather than clearing in a loop. (elf_finish_pointer_linker_section): Adjust. Don't make rela section here. (ppc_elf_check_relocs): Adjust. (ppc_elf_add_symbol_hook): Tighten hash creator test. Remove code creating .sbss by hand. * elf.c (_bfd_elf_link_hash_newfunc): Adjust.
Diffstat (limited to 'bfd/elf.c')
-rw-r--r--bfd/elf.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/bfd/elf.c b/bfd/elf.c
index 470f3c2..e342821 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -1428,7 +1428,6 @@ _bfd_elf_link_hash_newfunc (entry, table, string)
ret->dynstr_index = 0;
ret->elf_hash_value = 0;
ret->weakdef = NULL;
- ret->linker_section_pointer = NULL;
ret->verinfo.verdef = NULL;
ret->vtable_entries_size = 0;
ret->vtable_entries_used = NULL;