Lines Matching refs:sec

424       asection *sec;
434 sec = NULL;
438 sec = local_sections[r_symndx];
439 relocation = _bfd_elf_rela_local_sym (output_bfd, sym, &sec, rel);
447 h, sec, relocation,
455 info, sec, h == NULL);
474 name = bfd_section_name (input_bfd, sec);
660 elf32_h8_relax_section (bfd *abfd, asection *sec,
678 || (sec->flags & SEC_RELOC) == 0
679 || sec->reloc_count == 0
680 || (sec->flags & SEC_CODE) == 0)
687 (abfd, sec, (PTR) NULL, (Elf_Internal_Rela *) NULL,
692 if (sec != last_input_section)
695 last_input_section = sec;
698 irelend = internal_relocs + sec->reloc_count;
719 if (elf_section_data (sec)->this_hdr.contents != NULL)
720 contents = elf_section_data (sec)->this_hdr.contents;
724 if (!bfd_malloc_and_get_section (abfd, sec, &contents))
797 dot = (sec->output_section->vma
798 + sec->output_offset + irel->r_offset - 1);
812 elf_section_data (sec)->relocs = internal_relocs;
813 elf_section_data (sec)->this_hdr.contents = contents;
868 && ! elf32_h8_symbol_address_p (abfd, sec, dot))
889 if (!elf32_h8_relax_delete_bytes (abfd, sec,
913 if (!elf32_h8_relax_delete_bytes (abfd, sec,
933 dot = (sec->output_section->vma
934 + sec->output_offset
948 elf_section_data (sec)->relocs = internal_relocs;
949 elf_section_data (sec)->this_hdr.contents = contents;
983 if (!elf32_h8_relax_delete_bytes (abfd, sec,
1015 elf_section_data (sec)->relocs = internal_relocs;
1016 elf_section_data (sec)->this_hdr.contents = contents;
1071 if (!elf32_h8_relax_delete_bytes (abfd, sec,
1103 elf_section_data (sec)->relocs = internal_relocs;
1104 elf_section_data (sec)->this_hdr.contents = contents;
1158 if (!elf32_h8_relax_delete_bytes (abfd, sec,
1191 elf_section_data (sec)->relocs = internal_relocs;
1192 elf_section_data (sec)->this_hdr.contents = contents;
1210 if (!elf32_h8_relax_delete_bytes (abfd, sec,
1236 && elf_section_data (sec)->this_hdr.contents != contents)
1243 elf_section_data (sec)->this_hdr.contents = contents;
1248 && elf_section_data (sec)->relocs != internal_relocs)
1258 && elf_section_data (sec)->this_hdr.contents != contents)
1261 && elf_section_data (sec)->relocs != internal_relocs)
1269 elf32_h8_relax_delete_bytes (bfd *abfd, asection *sec, bfd_vma addr, int count)
1283 sec_shndx = _bfd_elf_section_from_bfd_section (abfd, sec);
1285 contents = elf_section_data (sec)->this_hdr.contents;
1291 toaddr = sec->size;
1293 irel = elf_section_data (sec)->relocs;
1294 irelend = irel + sec->reloc_count;
1299 sec->size -= count;
1302 for (irel = elf_section_data (sec)->relocs; irel < irelend; irel++)
1332 && sym_hash->root.u.def.section == sec
1346 elf32_h8_symbol_address_p (bfd *abfd, asection *sec, bfd_vma addr)
1356 sec_shndx = _bfd_elf_section_from_bfd_section (abfd, sec);
1378 && sym_hash->root.u.def.section == sec
1494 elf32_h8_gc_mark_hook (asection *sec,
1516 return bfd_section_from_elf_index (sec->owner, sym->st_shndx);
1523 asection *sec ATTRIBUTE_UNUSED,