Lines Matching refs:sec

562 m68hc11_relax_group (bfd *abfd, asection *sec, bfd_byte *contents,  in m68hc11_relax_group()  argument
650 m68hc11_elf_relax_delete_bytes (abfd, sec, start_offset, in m68hc11_relax_group()
664 m68hc11_elf_relax_delete_bytes (abfd, sec, ldx_offset, ldx_size); in m68hc11_relax_group()
674 m68hc11_elf_relax_section (bfd *abfd, asection *sec, in m68hc11_elf_relax_section() argument
696 || (sec->flags & SEC_RELOC) == 0 in m68hc11_elf_relax_section()
697 || sec->reloc_count == 0 in m68hc11_elf_relax_section()
698 || (sec->flags & SEC_CODE) == 0) in m68hc11_elf_relax_section()
705 (abfd, sec, NULL, (Elf_Internal_Rela *) NULL, in m68hc11_elf_relax_section()
714 qsort (internal_relocs, sec->reloc_count, sizeof (Elf_Internal_Rela), in m68hc11_elf_relax_section()
718 irelend = internal_relocs + sec->reloc_count; in m68hc11_elf_relax_section()
742 if (elf_section_data (sec)->this_hdr.contents != NULL) in m68hc11_elf_relax_section()
743 contents = elf_section_data (sec)->this_hdr.contents; in m68hc11_elf_relax_section()
747 if (!bfd_malloc_and_get_section (abfd, sec, &contents)) in m68hc11_elf_relax_section()
773 if (irel->r_offset + 2 >= sec->size) in m68hc11_elf_relax_section()
859 if (irel->r_offset == sec->size) in m68hc11_elf_relax_section()
885 if (*again && sym_sec != sec in m68hc11_elf_relax_section()
886 && sym_sec->output_section == sec->output_section) in m68hc11_elf_relax_section()
902 + sec->output_section->vma in m68hc11_elf_relax_section()
903 + sec->output_offset + 2); in m68hc11_elf_relax_section()
924 m68hc11_elf_relax_delete_bytes (abfd, sec, in m68hc11_elf_relax_section()
936 m68hc11_elf_relax_delete_bytes (abfd, sec, in m68hc11_elf_relax_section()
962 unsigned long old_sec_size = sec->size; in m68hc11_elf_relax_section()
965 elf_section_data (sec)->relocs = internal_relocs; in m68hc11_elf_relax_section()
968 elf_section_data (sec)->this_hdr.contents = contents; in m68hc11_elf_relax_section()
974 m68hc11_relax_group (abfd, sec, contents, offset, in m68hc11_elf_relax_section()
981 if (sec->size != old_sec_size) in m68hc11_elf_relax_section()
996 elf_section_data (sec)->relocs = internal_relocs; in m68hc11_elf_relax_section()
999 elf_section_data (sec)->this_hdr.contents = contents; in m68hc11_elf_relax_section()
1012 m68hc11_elf_relax_delete_bytes (abfd, sec, irel->r_offset, 1); in m68hc11_elf_relax_section()
1031 + sec->output_section->vma in m68hc11_elf_relax_section()
1032 + sec->output_offset + 1); in m68hc11_elf_relax_section()
1041 elf_section_data (sec)->relocs = internal_relocs; in m68hc11_elf_relax_section()
1044 elf_section_data (sec)->this_hdr.contents = contents; in m68hc11_elf_relax_section()
1058 m68hc11_elf_relax_delete_bytes (abfd, sec, in m68hc11_elf_relax_section()
1082 elf_section_data (sec)->this_hdr.contents = contents; in m68hc11_elf_relax_section()
1114 m68hc11_elf_relax_delete_bytes (bfd *abfd, asection *sec, in m68hc11_elf_relax_delete_bytes() argument
1130 sec_shndx = _bfd_elf_section_from_bfd_section (abfd, sec); in m68hc11_elf_relax_delete_bytes()
1132 contents = elf_section_data (sec)->this_hdr.contents; in m68hc11_elf_relax_delete_bytes()
1134 toaddr = sec->size; in m68hc11_elf_relax_delete_bytes()
1136 irel = elf_section_data (sec)->relocs; in m68hc11_elf_relax_delete_bytes()
1137 irelend = irel + sec->reloc_count; in m68hc11_elf_relax_delete_bytes()
1143 sec->size -= count; in m68hc11_elf_relax_delete_bytes()
1146 for (irel = elf_section_data (sec)->relocs; irel < irelend; irel++) in m68hc11_elf_relax_delete_bytes()
1262 && sym_hash->root.u.def.section == sec in m68hc11_elf_relax_delete_bytes()