summaryrefslogtreecommitdiff
path: root/bfd/targets.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2005-11-24 06:02:08 +0000
committerAlan Modra <amodra@bigpond.net.au>2005-11-24 06:02:08 +0000
commitbf322889ae6a3f2b80ffaba352a97aeadefa7b5b (patch)
tree8530c3bb5332cde34c2e24bc1ffa222a9b57019d /bfd/targets.c
parent1d8982978d8c0f9191d891b78919800363aaf053 (diff)
downloadbinutils-redhat-bf322889ae6a3f2b80ffaba352a97aeadefa7b5b.tar.gz
bfd/
* elf-bfd.h (_bfd_generic_match_sections_by_type): Don't define. * libbfd-in.h (_bfd_generic_match_sections_by_type): Delete. * libbfd.c (_bfd_generic_match_sections_by_type): Delete. * targets.c (bfd_match_sections_by_type): Don't define. (BFD_JUMP_TABLE_LINK): Remove _bfd_generic_match_sections_by_type. * coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Likewise. * coff64-rs6000.c (rs6000coff64_vec, aix5coff64_vec): Likewise. * bfd-in2.h: Regenerate. * libbfd.h: Regenerate. ld/ * ldlang.c (lang_output_section_find_by_flags): Add match_type param. Run two passes, first using match_type, second without. * ldlang.h (lang_match_sec_type_func): New typedef. (lang_output_section_find_by_flags): Update prototype. bfd_match_sections_by_type and lang_output_section_find_by_flags. * emultempl/pe.em (place_orphan): Likewise.
Diffstat (limited to 'bfd/targets.c')
-rw-r--r--bfd/targets.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/bfd/targets.c b/bfd/targets.c
index 8f5795c24a..c0372a1d02 100644
--- a/bfd/targets.c
+++ b/bfd/targets.c
@@ -434,7 +434,6 @@ BFD_JUMP_TABLE macros.
. NAME##_bfd_link_split_section, \
. NAME##_bfd_gc_sections, \
. NAME##_bfd_merge_sections, \
-. _bfd_generic_match_sections_by_type, \
. NAME##_bfd_is_group_section, \
. NAME##_bfd_discard_group, \
. NAME##_section_already_linked \
@@ -474,12 +473,6 @@ BFD_JUMP_TABLE macros.
. {* Attempt to merge SEC_MERGE sections. *}
. bfd_boolean (*_bfd_merge_sections) (bfd *, struct bfd_link_info *);
.
-.#define bfd_match_sections_by_type(abfd, asec, bbfd, bsec) \
-. BFD_SEND (abfd, _bfd_match_sections_by_type, (abfd, asec, bbfd, bsec))
-. {* Return TRUE if 2 section types are compatible. *}
-. bfd_boolean (*_bfd_match_sections_by_type)
-. (bfd *, const asection *, bfd *, const asection *);
-.
. {* Is this section a member of a group? *}
. bfd_boolean (*_bfd_is_group_section) (bfd *, const struct bfd_section *);
.