Lines Matching refs:isection

1437 is_nondebug_keep_contents_section (bfd *ibfd, asection *isection)  in is_nondebug_keep_contents_section()  argument
1441 return elf_section_type (isection) == SHT_NOTE; in is_nondebug_keep_contents_section()
1449 return strcmp (bfd_section_name (isection), ".buildid") == 0; in is_nondebug_keep_contents_section()
4011 setup_section (bfd *ibfd, sec_ptr isection, void *obfdarg) in setup_section() argument
4027 if (is_strip_section (ibfd, isection)) in setup_section()
4031 name = bfd_section_name (isection); in setup_section()
4032 flags = bfd_section_flags (isection); in setup_section()
4047 && (bfd_section_flags (isection) & SEC_ALLOC) != 0) in setup_section()
4064 p = find_section_list (bfd_section_name (isection), false, in setup_section()
4069 flags = check_new_section_flags (flags, obfd, bfd_section_name (isection)); in setup_section()
4073 && !is_nondebug_keep_contents_section (ibfd, isection)) in setup_section()
4084 isection->flags &= ~(SEC_HAS_CONTENTS | SEC_LOAD | SEC_GROUP); in setup_section()
4096 size = bfd_section_size (isection); in setup_section()
4097 size = bfd_convert_section_size (ibfd, isection, obfd, size); in setup_section()
4108 vma = bfd_section_vma (isection); in setup_section()
4109 p = find_section_list (bfd_section_name (isection), false, in setup_section()
4127 lma = isection->lma; in setup_section()
4128 p = find_section_list (bfd_section_name (isection), false, in setup_section()
4142 p = find_section_list (bfd_section_name (isection), false, in setup_section()
4147 alignment = bfd_section_alignment (isection); in setup_section()
4158 osection->entsize = isection->entsize; in setup_section()
4161 osection->compress_status = isection->compress_status; in setup_section()
4166 isection->output_section = osection; in setup_section()
4167 isection->output_offset = 0; in setup_section()
4169 if ((isection->flags & SEC_GROUP) != 0) in setup_section()
4171 asymbol *gsym = group_signature (isection); in setup_section()
4177 elf_group_id (isection) = gsym; in setup_section()
4183 if (!bfd_copy_private_section_data (ibfd, isection, obfd, osection)) in setup_section()
4203 skip_section (bfd *ibfd, sec_ptr isection, bool skip_copy) in skip_section() argument
4217 if (is_strip_section (ibfd, isection)) in skip_section()
4220 if (is_update_section (ibfd, isection)) in skip_section()
4225 if (skip_copy && is_mergeable_note_section (ibfd, isection)) in skip_section()
4228 flags = bfd_section_flags (isection); in skip_section()
4232 osection = isection->output_section; in skip_section()
4233 size = bfd_section_size (isection); in skip_section()
4256 discard_relocations (bfd *ibfd ATTRIBUTE_UNUSED, asection *isection) in discard_relocations() argument
4258 return (find_section_list (bfd_section_name (isection), false, in discard_relocations()
4287 copy_relocations_in_section (bfd *ibfd, sec_ptr isection, void *obfdarg) in copy_relocations_in_section() argument
4295 if (skip_section (ibfd, isection, false)) in copy_relocations_in_section()
4298 osection = isection->output_section; in copy_relocations_in_section()
4303 || discard_relocations (ibfd, isection)) in copy_relocations_in_section()
4307 relsize = bfd_get_reloc_upper_bound (ibfd, isection); in copy_relocations_in_section()
4317 bfd_nonfatal_message (NULL, ibfd, isection, NULL); in copy_relocations_in_section()
4330 if (isection->orelocation != NULL) in copy_relocations_in_section()
4334 relcount = isection->reloc_count; in copy_relocations_in_section()
4335 relpp = isection->orelocation; in copy_relocations_in_section()
4340 relcount = bfd_canonicalize_reloc (ibfd, isection, relpp, isympp); in copy_relocations_in_section()
4344 bfd_nonfatal_message (NULL, ibfd, isection, in copy_relocations_in_section()
4379 copy_section (bfd *ibfd, sec_ptr isection, void *obfdarg) in copy_section() argument
4386 if (skip_section (ibfd, isection, true)) in copy_section()
4389 osection = isection->output_section; in copy_section()
4394 size = bfd_section_size (isection); in copy_section()
4396 if (bfd_section_flags (isection) & SEC_HAS_CONTENTS in copy_section()
4401 if (!bfd_get_full_section_contents (ibfd, isection, &memhunk) in copy_section()
4402 || !bfd_convert_section_contents (ibfd, isection, obfd, in copy_section()
4406 bfd_nonfatal_message (NULL, ibfd, isection, NULL); in copy_section()
4434 bfd_section_name (isection), reverse_bytes); in copy_section()
4449 int extra = isection->lma % interleave; in copy_section()
4477 else if ((p = find_section_list (bfd_section_name (isection), in copy_section()
4566 mark_symbols_used_in_relocations (bfd *ibfd, sec_ptr isection, void *symbolsarg) in mark_symbols_used_in_relocations() argument
4574 if (isection->output_section == NULL) in mark_symbols_used_in_relocations()
4577 relsize = bfd_get_reloc_upper_bound (ibfd, isection); in mark_symbols_used_in_relocations()
4590 relcount = bfd_canonicalize_reloc (ibfd, isection, relpp, symbols); in mark_symbols_used_in_relocations()