From d3c456e9506b08668419af641c7b14be84ec73ac Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Tue, 15 Jan 2002 12:52:15 +0000 Subject: * elflink.h (elf_link_input_bfd): Back out 2002-01-07 change. * elf.c (merge_sections_remove_hook): New function. (_bfd_elf_merge_sections): Pass it as 3rd argument to _bfd_merge_sections. * libbfd-in.h (_bfd_merge_sections): Add 3rd argument. * libbfd.h: Rebuilt. * merge.c (_bfd_merge_sections): Add remove_hook argument. Call remove_hook if a SEC_EXCLUDE section is encountered. --- bfd/libbfd-in.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bfd/libbfd-in.h') diff --git a/bfd/libbfd-in.h b/bfd/libbfd-in.h index cc5be3f..ed417ca 100644 --- a/bfd/libbfd-in.h +++ b/bfd/libbfd-in.h @@ -478,7 +478,7 @@ extern boolean _bfd_merge_section /* Attempt to merge SEC_MERGE sections. */ extern boolean _bfd_merge_sections - PARAMS ((bfd *, PTR)); + PARAMS ((bfd *, PTR, void (*)(bfd *, asection *))); /* Write out a merged section. */ -- cgit v1.1