From 390fbbf109a72362de0ff83ee32aedfe57c71292 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 24 Nov 2005 06:02:08 +0000 Subject: 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. --- bfd/libbfd.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'bfd/libbfd.c') diff --git a/bfd/libbfd.c b/bfd/libbfd.c index 34e32ac..57cfabc 100644 --- a/bfd/libbfd.c +++ b/bfd/libbfd.c @@ -1035,15 +1035,6 @@ _bfd_generic_find_line (bfd *abfd ATTRIBUTE_UNUSED, } bfd_boolean -_bfd_generic_match_sections_by_type (bfd *abfd ATTRIBUTE_UNUSED, - const asection *asec ATTRIBUTE_UNUSED, - bfd *bbfd ATTRIBUTE_UNUSED, - const asection *bsec ATTRIBUTE_UNUSED) -{ - return TRUE; -} - -bfd_boolean _bfd_generic_init_private_section_data (bfd *ibfd ATTRIBUTE_UNUSED, asection *isec ATTRIBUTE_UNUSED, bfd *obfd ATTRIBUTE_UNUSED, -- cgit v1.1