Home | History | Annotate | Download | only in bfd

Lines Matching refs:sec

444 			     asection *sec ATTRIBUTE_UNUSED,
594 asection *sec, bfd_vma addr, int count)
608 sec_shndx = _bfd_elf_section_from_bfd_section (abfd, sec);
610 contents = elf_section_data (sec)->this_hdr.contents;
612 toaddr = sec->size;
614 irel = elf_section_data (sec)->relocs;
615 irelend = irel + sec->reloc_count;
620 sec->size -= count;
623 for (irel = elf_section_data (sec)->relocs; irel < irelend; irel++)
642 for (irel = elf_section_data (sec)->relocs; irel < irelend; irel++)
712 && sym_hash->root.u.def.section == sec
853 asection *sec;
864 sec = NULL;
868 sec = local_sections[r_symndx];
869 relocation = _bfd_elf_rela_local_sym (output_bfd, sym, &sec, rel);
877 h, sec, relocation,
881 if (sec != NULL && discarded_section (sec))
892 info, sec, h == NULL);
906 name = bfd_section_name (input_bfd, sec);
961 elf32_crx_relax_section (bfd *abfd, asection *sec,
977 || (sec->flags & SEC_RELOC) == 0
978 || sec->reloc_count == 0
979 || (sec->flags & SEC_CODE) == 0)
986 (abfd, sec, NULL, (Elf_Internal_Rela *) NULL,
992 irelend = internal_relocs + sec->reloc_count;
1009 if (elf_section_data (sec)->this_hdr.contents != NULL)
1010 contents = elf_section_data (sec)->this_hdr.contents;
1012 else if (!bfd_malloc_and_get_section (abfd, sec, &contents))
1085 value -= (sec->output_section->vma + sec->output_offset);
1108 elf_section_data (sec)->relocs = internal_relocs;
1109 elf_section_data (sec)->this_hdr.contents = contents;
1117 if (!elf32_crx_relax_delete_bytes (link_info, abfd, sec,
1134 value -= (sec->output_section->vma + sec->output_offset);
1153 elf_section_data (sec)->relocs = internal_relocs;
1154 elf_section_data (sec)->this_hdr.contents = contents;
1162 if (!elf32_crx_relax_delete_bytes (link_info, abfd, sec,
1179 value -= (sec->output_section->vma + sec->output_offset);
1202 elf_section_data (sec)->relocs = internal_relocs;
1203 elf_section_data (sec)->this_hdr.contents = contents;
1214 if (!elf32_crx_relax_delete_bytes (link_info, abfd, sec,
1243 elf_section_data (sec)->relocs = internal_relocs;
1244 elf_section_data (sec)->this_hdr.contents = contents;
1255 if (!elf32_crx_relax_delete_bytes (link_info, abfd, sec,
1279 && elf_section_data (sec)->this_hdr.contents != contents)
1286 elf_section_data (sec)->this_hdr.contents = contents;
1291 && elf_section_data (sec)->relocs != internal_relocs)
1301 && elf_section_data (sec)->this_hdr.contents != contents)
1304 && elf_section_data (sec)->relocs != internal_relocs)