diff options
author | Alan Modra <amodra@gmail.com> | 2004-04-30 14:23:40 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2004-04-30 14:23:40 +0000 |
commit | 72adc230457cc2885fe394ab4647dceab2d9d0aa (patch) | |
tree | 83af2b0ff6739e108f6f79ff974d207996e275cb /bfd/targets.c | |
parent | 2004-04-30 Andrew Cagney <cagney@redhat.com> (diff) | |
download | binutils-gdb-72adc230457cc2885fe394ab4647dceab2d9d0aa.tar.gz binutils-gdb-72adc230457cc2885fe394ab4647dceab2d9d0aa.tar.bz2 binutils-gdb-72adc230457cc2885fe394ab4647dceab2d9d0aa.zip |
* section.c (bfd_make_section_anyway): Add all sections to hash tab.
* elf-bfd.h (bfd_elf_is_group_section): Declare.
* elf.c (bfd_elf_is_group_section): New function.
* elfxx-target.h (bfd_elfNN_bfd_is_group_section
* section.c (bfd_generic_is_group_section): New function.
* targets.c (struct bfd_target): Add _bfd_is_group_section field.
(BFD_JUMP_TABLE_LINK): Adjust.
* aout-adobe.c (aout_32_bfd_is_group_section): Define.
* aout-target.h (MY_bfd_is_group_section): Define.
* aout-tic30.c (MY_bfd_is_group_section): Define.
* bfd.c (bfd_is_group_section): Define.
* binary.c (binary_bfd_is_group_section): Define.
* bout.c (b_out_bfd_is_group_section): Define.
* coff-alpha.c (_bfd_ecoff_bfd_is_group_section): Define.
* coff-mips.c (_bfd_ecoff_bfd_is_group_section): Define.
* coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Adjust.
* coff64-rs6000.c (rs6000coff64_vec, aix5coff64_vec): Adjust.
* coffcode.h (coff_bfd_is_group_section): Define.
* i386msdos.c (msdos_bfd_is_group_section): Define.
* i386os9k.c (os9k_bfd_is_group_section): Define.
* ieee.c (ieee_bfd_is_group_section): Define.
* ihex.c (ihex_bfd_is_group_section): Define.
* libbfd-in.h (_bfd_nolink_bfd_is_group_section): Define.
* mach-o.c (bfd_mach_o_bfd_is_group_section): Define.
* mmo.c (mmo_bfd_is_group_section): Define.
* nlm-target.h (nlm_bfd_is_group_section): Define.
* oasys.c (oasys_bfd_is_group_section): Define.
* pef.c (bfd_pef_bfd_is_group_section): Define.
* ppcboot.c (ppcboot_bfd_is_group_section): Define.
* srec.c (srec_bfd_is_group_section): Define.
* tekhex.c (tekhex_bfd_is_group_section): Define.
* versados.c (versados_bfd_is_group_section): Define.
* vms.c (vms_bfd_is_group_section): Define.
* xsym.c (bfd_sym_bfd_is_group_section): Define.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
Diffstat (limited to 'bfd/targets.c')
-rw-r--r-- | bfd/targets.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/targets.c b/bfd/targets.c index 353e8c2214d..29e3f626ac2 100644 --- a/bfd/targets.c +++ b/bfd/targets.c @@ -406,6 +406,7 @@ BFD_JUMP_TABLE macros. . NAME##_bfd_link_split_section, \ . NAME##_bfd_gc_sections, \ . NAME##_bfd_merge_sections, \ +. NAME##_bfd_is_group_section, \ . NAME##_bfd_discard_group . . int (*_bfd_sizeof_headers) (bfd *, bfd_boolean); @@ -443,6 +444,9 @@ BFD_JUMP_TABLE macros. . {* Attempt to merge SEC_MERGE sections. *} . bfd_boolean (*_bfd_merge_sections) (bfd *, struct bfd_link_info *); . +. {* Is this section a member of a group? *} +. bfd_boolean (*_bfd_is_group_section) (bfd *, const struct bfd_section *); +. . {* Discard members of a group. *} . bfd_boolean (*_bfd_discard_group) (bfd *, struct bfd_section *); . |