* 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.
This commit is contained in:
parent
4d4ee08e8c
commit
0983f4eb2b
@ -1,3 +1,9 @@
|
|||||||
|
2005-02-01 Ben Elliston <bje@au.ibm.com>
|
||||||
|
|
||||||
|
* 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.
|
||||||
|
|
||||||
2005-01-31 Richard Sandiford <rsandifo@redhat.com>
|
2005-01-31 Richard Sandiford <rsandifo@redhat.com>
|
||||||
|
|
||||||
* elf-bfd.h (elf_backend_data): Add elf_backend_eh_frame_address_size.
|
* elf-bfd.h (elf_backend_data): Add elf_backend_eh_frame_address_size.
|
||||||
|
@ -1438,8 +1438,6 @@ extern bfd_boolean _bfd_elf_merge_sections
|
|||||||
(bfd *, struct bfd_link_info *);
|
(bfd *, struct bfd_link_info *);
|
||||||
extern bfd_boolean bfd_elf_is_group_section
|
extern bfd_boolean bfd_elf_is_group_section
|
||||||
(bfd *, const struct bfd_section *);
|
(bfd *, const struct bfd_section *);
|
||||||
extern bfd_boolean bfd_elf_discard_group
|
|
||||||
(bfd *, struct bfd_section *);
|
|
||||||
extern void _bfd_elf_section_already_linked
|
extern void _bfd_elf_section_already_linked
|
||||||
(bfd *, struct bfd_section *);
|
(bfd *, struct bfd_section *);
|
||||||
extern void bfd_elf_set_group_contents
|
extern void bfd_elf_set_group_contents
|
||||||
|
23
bfd/elf.c
23
bfd/elf.c
@ -664,29 +664,6 @@ bfd_elf_is_group_section (bfd *abfd ATTRIBUTE_UNUSED, const asection *sec)
|
|||||||
return elf_next_in_group (sec) != NULL;
|
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
|
/* Make a BFD section from an ELF section. We store a pointer to the
|
||||||
BFD section in the bfd_section field of the header. */
|
BFD section in the bfd_section field of the header. */
|
||||||
|
|
||||||
|
@ -142,10 +142,6 @@
|
|||||||
#define bfd_elfNN_bfd_is_group_section bfd_elf_is_group_section
|
#define bfd_elfNN_bfd_is_group_section bfd_elf_is_group_section
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef bfd_elfNN_bfd_discard_group
|
|
||||||
#define bfd_elfNN_bfd_discard_group bfd_elf_discard_group
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef bfd_elfNN_section_already_linked
|
#ifndef bfd_elfNN_section_already_linked
|
||||||
#define bfd_elfNN_section_already_linked \
|
#define bfd_elfNN_section_already_linked \
|
||||||
_bfd_elf_section_already_linked
|
_bfd_elf_section_already_linked
|
||||||
|
Loading…
x
Reference in New Issue
Block a user