diff options
author | Ben Elliston <bje@au.ibm.com> | 2005-01-31 22:53:26 +0000 |
---|---|---|
committer | Ben Elliston <bje@au.ibm.com> | 2005-01-31 22:53:26 +0000 |
commit | 0983f4eb2bd9d7a7e94c5541b8c7959c4793e762 (patch) | |
tree | f816baf6de30ef424907bf372d57add93d5b3e38 /bfd/elf.c | |
parent | 4d4ee08e8c9f42bf7e2db1ff701561de1ddf169b (diff) | |
download | gdb-0983f4eb2bd9d7a7e94c5541b8c7959c4793e762.zip gdb-0983f4eb2bd9d7a7e94c5541b8c7959c4793e762.tar.gz gdb-0983f4eb2bd9d7a7e94c5541b8c7959c4793e762.tar.bz2 |
* elf-bfd.h (bfd_elf_discard_group): Remove.
* elf.c (bfd_elf_discard_group): Likewise.
* elfxx-target.h (bfd_elfNN_bfd_discard_group): Remove macro.
Diffstat (limited to 'bfd/elf.c')
-rw-r--r-- | bfd/elf.c | 23 |
1 files changed, 0 insertions, 23 deletions
@@ -664,29 +664,6 @@ bfd_elf_is_group_section (bfd *abfd ATTRIBUTE_UNUSED, const asection *sec) return elf_next_in_group (sec) != NULL; } -bfd_boolean -bfd_elf_discard_group (bfd *abfd ATTRIBUTE_UNUSED, - asection *group ATTRIBUTE_UNUSED) -{ -#if 0 - asection *first = elf_next_in_group (group); - asection *s = first; - - while (s != NULL) - { - s->output_section = bfd_abs_section_ptr; - s = elf_next_in_group (s); - /* These lists are circular. */ - if (s == first) - break; - } -#else - /* FIXME: Never used. Remove it! */ - abort (); -#endif - return TRUE; -} - /* Make a BFD section from an ELF section. We store a pointer to the BFD section in the bfd_section field of the header. */ |