Lines Matching refs:sec

202   PARAMS((bfd *abfd, asection *sec, struct bfd_link_info *link_info,
211 PARAMS ((bfd *abfd, Elf_Internal_Shdr *hdr, asection *sec));
269 asection *sec, bfd_boolean create));
271 PARAMS ((bfd *abfd, struct bfd_link_info *info, asection *sec,
298 PARAMS ((bfd *abfd, struct bfd_link_info *info, asection *sec,
346 PARAMS ((bfd *abfd, asection *sec, int *retval));
879 elfNN_ia64_relax_section (abfd, sec, link_info, again)
881 asection *sec;
917 if ((sec->flags & SEC_RELOC) == 0
918 || sec->reloc_count == 0
919 || (link_info->relax_pass == 0 && sec->skip_relax_pass_0)
920 || (link_info->relax_pass == 1 && sec->skip_relax_pass_1))
927 (abfd, sec, (PTR) NULL, (Elf_Internal_Rela *) NULL,
933 irelend = internal_relocs + sec->reloc_count;
936 if (elf_section_data (sec)->this_hdr.contents != NULL)
937 contents = elf_section_data (sec)->this_hdr.contents;
940 if (!bfd_malloc_and_get_section (abfd, sec, &contents))
1115 reladdr = (sec->output_section->vma
1116 + sec->output_offset
1155 if (strcmp (sec->output_section->name, ".init") == 0
1156 || strcmp (sec->output_section->name, ".fini") == 0)
1160 sec->owner, sec, (unsigned long) roff);
1169 if (tsec == sec && toff > roff)
1191 trampoff = (sec->size + 15) & (bfd_vma) -16;
1203 sec->size = amt;
1268 bfd *obfd = sec->output_section->owner;
1330 && elf_section_data (sec)->this_hdr.contents != contents)
1337 elf_section_data (sec)->this_hdr.contents = contents;
1341 if (elf_section_data (sec)->relocs != internal_relocs)
1346 elf_section_data (sec)->relocs = internal_relocs;
1378 sec->skip_relax_pass_0 = skip_relax_pass_0;
1379 sec->skip_relax_pass_1 = skip_relax_pass_1;
1389 && elf_section_data (sec)->this_hdr.contents != contents)
1392 && elf_section_data (sec)->relocs != internal_relocs)
1512 elfNN_ia64_fake_sections (abfd, hdr, sec)
1515 asection *sec;
1519 name = bfd_get_section_name (abfd, sec);
1551 if (sec->flags & SEC_SMALL_DATA)
1556 if (elfNN_ia64_hpux_vec (abfd->xvec) && (sec->flags & SHF_TLS))
2178 asection *sec = abfd->sections;
2179 hashval_t h = (((sec->id & 0xff) << 24) | ((sec->id & 0xff00) << 8))
2180 ^ ELFNN_R_SYM (rel->r_info) ^ (sec->id >> 16);
2183 e.id = sec->id;
2200 ret->id = sec->id;
2606 get_reloc_section (abfd, ia64_info, sec, create)
2609 asection *sec;
2618 elf_section_data(sec)->rel_hdr.sh_name));
2623 && strcmp (bfd_get_section_name (abfd, sec),
2626 && strcmp (bfd_get_section_name (abfd, sec),
2681 elfNN_ia64_check_relocs (abfd, info, sec, relocs)
2684 asection *sec;
2718 relend = relocs + sec->reloc_count;
3120 if ((need_entry & NEED_DYNREL) && (sec->flags & SEC_ALLOC))
3124 srel = get_reloc_section (abfd, ia64_info, sec, TRUE);
3129 (sec->flags & SEC_READONLY) != 0))
3532 asection *sec;
3546 sec = bfd_get_section_by_name (dynobj, ".interp");
3547 BFD_ASSERT (sec != NULL);
3548 sec->contents = (bfd_byte *) ELF_DYNAMIC_INTERPRETER;
3549 sec->size = strlen (ELF_DYNAMIC_INTERPRETER) + 1;
3603 sec = bfd_get_section_by_name (dynobj, ".got.plt");
3604 sec->size = 8 * PLT_RESERVED_WORDS;
3629 for (sec = dynobj->sections; sec != NULL; sec = sec->next)
3633 if (!(sec->flags & SEC_LINKER_CREATED))
3644 strip = (sec->size == 0);
3646 if (sec == ia64_info->got_sec)
3648 else if (sec == ia64_info->rel_got_sec)
3655 sec->reloc_count = 0;
3657 else if (sec == ia64_info->fptr_sec)
3662 else if (sec == ia64_info->rel_fptr_sec)
3669 sec->reloc_count = 0;
3671 else if (sec == ia64_info->plt_sec)
3676 else if (sec == ia64_info->pltoff_sec)
3681 else if (sec == ia64_info->rel_pltoff_sec)
3690 sec->reloc_count = 0;
3699 name = bfd_get_section_name (dynobj, sec);
3709 sec->reloc_count = 0;
3717 sec->flags |= SEC_EXCLUDE;
3721 sec->contents = (bfd_byte *) bfd_zalloc (dynobj, sec->size);
3722 if (sec->contents == NULL && sec->size != 0)
4001 elfNN_ia64_install_dyn_reloc (abfd, info, sec, srel, offset, type,
4005 asection *sec;
4018 outrel.r_offset = _bfd_elf_section_offset (abfd, info, sec, offset);
4028 outrel.r_offset += sec->output_section->vma + sec->output_offset;
5313 existing sec->reloc_count to be the base of the array of
5579 asection *sec;
5595 for (sec = abfd->sections; sec != NULL; sec = sec->next)
5597 if (elf_sec_group (sec) == NULL
5598 && ((sec->flags & (SEC_LINK_ONCE | SEC_CODE | SEC_GROUP))
5600 && strncmp (sec->name, ".gnu.linkonce.t.", 16) == 0)
5602 name = sec->name + 16;
5631 elf_next_in_group (group) = sec;
5633 elf_group_name (sec) = name;
5634 elf_next_in_group (sec) = sec;
5635 elf_sec_group (sec) = group;
5640 elf_next_in_group (unwi) = sec;
5641 elf_next_in_group (sec) = unwi;
5655 elf_next_in_group (unw) = sec;
5656 elf_next_in_group (sec) = unw;
5688 elfNN_hpux_backend_section_from_bfd_section (abfd, sec, retval)
5690 asection *sec;
5693 if (bfd_is_com_section (sec))