Home
last modified time | relevance | path

Searched refs:osec (Results 1 – 25 of 40) sorted by relevance

12

/toolchain/binutils/binutils-2.25/ld/emultempl/
Dsh64elf.em51 asection *osec;
122 for (osec = link_info.output_bfd->sections;
123 osec != NULL;
124 osec = osec->next)
133 sh64_sec_data = sh64_elf_section_data (osec)->sh64_info;
136 if (bfd_get_section_flags (link_info.output_bfd, osec) & SEC_EXCLUDE)
143 sh64_elf_section_data (osec)->sh64_info = sh64_sec_data;
157 if (isec->output_section == osec
184 if (isec->output_section == osec
245 asection *osec;
[all …]
/toolchain/binutils/binutils-2.25/bfd/
Dcoff-i960.c187 asection *osec; in coff_i960_relocate() local
210 osec = bfd_get_section (symbol)->output_section; in coff_i960_relocate()
211 if (coff_section_data (output_bfd, osec) != NULL in coff_i960_relocate()
212 && coff_section_data (output_bfd, osec)->tdata != NULL) in coff_i960_relocate()
214 (asymbol **) coff_section_data (output_bfd, osec)->tdata; in coff_i960_relocate()
220 sec_name = bfd_get_section_name (output_bfd, osec); in coff_i960_relocate()
237 if (coff_section_data (output_bfd, osec) == NULL) in coff_i960_relocate()
240 osec->used_by_bfd = bfd_zalloc (abfd, amt); in coff_i960_relocate()
241 if (osec->used_by_bfd == NULL) in coff_i960_relocate()
244 coff_section_data (output_bfd, osec)->tdata = syms; in coff_i960_relocate()
Delf32-i370.c1246 asection *osec; in i370_elf_relocate_section() local
1253 osec = sec->output_section; in i370_elf_relocate_section()
1254 indx = elf_section_data (osec)->dynindx; in i370_elf_relocate_section()
1259 osec = htab->text_index_section; in i370_elf_relocate_section()
1260 indx = elf_section_data (osec)->dynindx; in i370_elf_relocate_section()
1267 indx, osec->name, osec->flags, in i370_elf_relocate_section()
Delf32-bfin.c2140 _bfinfdpic_osec_to_segment (bfd *output_bfd, asection *osec) in _bfinfdpic_osec_to_segment() argument
2142 Elf_Internal_Phdr *p = _bfd_elf_find_segment_containing_section (output_bfd, osec); in _bfinfdpic_osec_to_segment()
2148 _bfinfdpic_osec_readonly_p (bfd *output_bfd, asection *osec) in _bfinfdpic_osec_readonly_p() argument
2150 unsigned seg = _bfinfdpic_osec_to_segment (output_bfd, osec); in _bfinfdpic_osec_readonly_p()
2630 asection *osec; in bfinfdpic_relocate_section() local
2655 osec = sec = local_sections [r_symndx]; in bfinfdpic_relocate_section()
2671 osec = sec; in bfinfdpic_relocate_section()
2686 osec = sec = NULL; in bfinfdpic_relocate_section()
2727 osec, sym, in bfinfdpic_relocate_section()
2978 if (osec) in bfinfdpic_relocate_section()
[all …]
Delf32-frv.c1294 _frvfdpic_osec_to_segment (bfd *output_bfd, asection *osec) in _frvfdpic_osec_to_segment() argument
1296 Elf_Internal_Phdr *p = _bfd_elf_find_segment_containing_section (output_bfd, osec); in _frvfdpic_osec_to_segment()
1302 _frvfdpic_osec_readonly_p (bfd *output_bfd, asection *osec) in _frvfdpic_osec_readonly_p() argument
1304 unsigned seg = _frvfdpic_osec_to_segment (output_bfd, osec); in _frvfdpic_osec_readonly_p()
2708 asection *osec; in elf32_frv_relocate_section() local
2727 osec = sec = local_sections [r_symndx]; in elf32_frv_relocate_section()
2744 osec = sec; in elf32_frv_relocate_section()
2761 osec = sec = NULL; in elf32_frv_relocate_section()
2817 osec, sym, in elf32_frv_relocate_section()
3664 if (osec) in elf32_frv_relocate_section()
[all …]
Delf32-sh64.c313 bfd *obfd, asection *osec) in sh64_bfd_elf_copy_private_section_data() argument
321 if (! _bfd_elf_copy_private_section_data (ibfd, isec, obfd, osec)) in sh64_bfd_elf_copy_private_section_data()
336 sh64_elf_section_data (osec)->sh64_info = sh64_sec_data; in sh64_bfd_elf_copy_private_section_data()
Delf32-iq2000.c606 asection *osec; in iq2000_elf_relocate_section() local
609 osec = sec = local_sections [r_symndx]; in iq2000_elf_relocate_section()
624 name = (name == NULL) ? bfd_section_name (input_bfd, osec) : name; in iq2000_elf_relocate_section()
Dxcofflink.c5323 asection *osec; in xcoff_write_global_symbol() local
5330 osec = tocsec->output_section; in xcoff_write_global_symbol()
5331 oindx = osec->target_index; in xcoff_write_global_symbol()
5332 irel = flinfo->section_info[oindx].relocs + osec->reloc_count; in xcoff_write_global_symbol()
5333 irel->r_vaddr = (osec->vma in xcoff_write_global_symbol()
5375 flinfo->section_info[oindx].rel_hashes[osec->reloc_count] = NULL; in xcoff_write_global_symbol()
5376 ++osec->reloc_count; in xcoff_write_global_symbol()
5378 if (!xcoff_create_ldrel (output_bfd, flinfo, osec, in xcoff_write_global_symbol()
5392 irsym.n_scnum = osec->target_index; in xcoff_write_global_symbol()
5440 asection *osec; in xcoff_write_global_symbol() local
[all …]
Delf32-vax.c1633 asection *osec; in elf_vax_relocate_section() local
1640 osec = sec->output_section; in elf_vax_relocate_section()
1641 indx = elf_section_data (osec)->dynindx; in elf_vax_relocate_section()
1646 osec = htab->text_index_section; in elf_vax_relocate_section()
1647 indx = elf_section_data (osec)->dynindx; in elf_vax_relocate_section()
Delf.c6440 asection *section, *osec; in copy_private_bfd_data() local
6475 osec = section->output_section; in copy_private_bfd_data()
6476 if (osec) in copy_private_bfd_data()
6477 osec->segment_mark = TRUE; in copy_private_bfd_data()
6485 if (osec == NULL in copy_private_bfd_data()
6486 || section->flags != osec->flags in copy_private_bfd_data()
6487 || section->lma != osec->lma in copy_private_bfd_data()
6488 || section->vma != osec->vma in copy_private_bfd_data()
6489 || section->size != osec->size in copy_private_bfd_data()
6490 || section->rawsize != osec->rawsize in copy_private_bfd_data()
[all …]
Delf64-sh64.c2264 asection *osec; in sh_elf64_copy_private_data_internal() local
2271 for (osec = obfd->sections; osec; osec = osec->next) in sh_elf64_copy_private_data_internal()
2273 int oIndex = ((struct bfd_elf_section_data *) elf_section_data (osec))->this_idx; in sh_elf64_copy_private_data_internal()
2276 if (strcmp (osec->name, isec->name) == 0) in sh_elf64_copy_private_data_internal()
DpeXXigen.c2964 asection *osec) in _bfd_XX_bfd_copy_private_section_data() argument
2973 if (coff_section_data (obfd, osec) == NULL) in _bfd_XX_bfd_copy_private_section_data()
2976 osec->used_by_bfd = bfd_zalloc (obfd, amt); in _bfd_XX_bfd_copy_private_section_data()
2977 if (osec->used_by_bfd == NULL) in _bfd_XX_bfd_copy_private_section_data()
2981 if (pei_section_data (obfd, osec) == NULL) in _bfd_XX_bfd_copy_private_section_data()
2984 coff_section_data (obfd, osec)->tdata = bfd_zalloc (obfd, amt); in _bfd_XX_bfd_copy_private_section_data()
2985 if (coff_section_data (obfd, osec)->tdata == NULL) in _bfd_XX_bfd_copy_private_section_data()
2989 pei_section_data (obfd, osec)->virt_size = in _bfd_XX_bfd_copy_private_section_data()
2991 pei_section_data (obfd, osec)->pe_flags = in _bfd_XX_bfd_copy_private_section_data()
Delf-bfd.h858 (bfd *output_bfd, struct bfd_link_info *info, asection *osec);
1170 asection *osec, bfd_vma offset,
1784 (bfd *abfd, struct bfd_link_info *info, asection *osec, bfd_vma offset,
Delf32-lm32.c772 _lm32fdpic_osec_to_segment (bfd *output_bfd, asection *osec) in _lm32fdpic_osec_to_segment() argument
785 if (m->sections[i] == osec) in _lm32fdpic_osec_to_segment()
798 _lm32fdpic_osec_readonly_p (bfd *output_bfd, asection *osec) in _lm32fdpic_osec_readonly_p() argument
800 unsigned seg = _lm32fdpic_osec_to_segment (output_bfd, osec); in _lm32fdpic_osec_readonly_p()
Delf32-cris.c1512 asection *osec; in cris_elf_relocate_section() local
1519 osec = sec->output_section; in cris_elf_relocate_section()
1520 indx = elf_section_data (osec)->dynindx; in cris_elf_relocate_section()
1523 osec = htab->root.text_index_section; in cris_elf_relocate_section()
1524 indx = elf_section_data (osec)->dynindx; in cris_elf_relocate_section()
Delf32-s390.c2871 asection *osec; in elf_s390_relocate_section() local
2873 osec = sec->output_section; in elf_s390_relocate_section()
2874 sindx = elf_section_data (osec)->dynindx; in elf_s390_relocate_section()
2877 osec = htab->elf.text_index_section; in elf_s390_relocate_section()
2878 sindx = elf_section_data (osec)->dynindx; in elf_s390_relocate_section()
2887 outrel.r_addend -= osec->vma; in elf_s390_relocate_section()
Delf64-s390.c2839 asection *osec; in elf_s390_relocate_section() local
2841 osec = sec->output_section; in elf_s390_relocate_section()
2842 sindx = elf_section_data (osec)->dynindx; in elf_s390_relocate_section()
2846 osec = htab->elf.text_index_section; in elf_s390_relocate_section()
2847 sindx = elf_section_data (osec)->dynindx; in elf_s390_relocate_section()
2856 outrel.r_addend -= osec->vma; in elf_s390_relocate_section()
Delflink.c9442 asection *osec = o->output_section; in elf_link_input_bfd() local
9454 elf_section_data (osec)->this_hdr.sh_info = -2; in elf_link_input_bfd()
9460 elf_section_data (osec)->this_hdr.sh_info = sec->target_index; in elf_link_input_bfd()
9495 elf_section_data (osec)->this_hdr.sh_info in elf_link_input_bfd()
9861 asection *osec = sec->output_section; in elf_link_input_bfd() local
9869 if (bfd_is_abs_section (osec) in elf_link_input_bfd()
9873 osec = sec->kept_section->output_section; in elf_link_input_bfd()
9874 irela->r_addend -= osec->vma; in elf_link_input_bfd()
9877 if (!bfd_is_abs_section (osec)) in elf_link_input_bfd()
9879 r_symndx = osec->target_index; in elf_link_input_bfd()
[all …]
Delf32-sh.c3678 sh_elf_osec_to_segment (bfd *output_bfd, asection *osec) in sh_elf_osec_to_segment() argument
3685 p = _bfd_elf_find_segment_containing_section (output_bfd, osec); in sh_elf_osec_to_segment()
3694 sh_elf_osec_readonly_p (bfd *output_bfd, asection *osec) in sh_elf_osec_readonly_p() argument
3696 unsigned seg = sh_elf_osec_to_segment (output_bfd, osec); in sh_elf_osec_readonly_p()
7379 asection *osec, bfd_vma offset, in sh_elf_encode_eh_address() argument
7387 return _bfd_elf_encode_eh_address (abfd, info, osec, offset, loc_sec, in sh_elf_encode_eh_address()
7393 if (! h || (sh_elf_osec_to_segment (abfd, osec) in sh_elf_encode_eh_address()
7395 return _bfd_elf_encode_eh_address (abfd, info, osec, offset, in sh_elf_encode_eh_address()
7398 BFD_ASSERT (sh_elf_osec_to_segment (abfd, osec) in sh_elf_encode_eh_address()
7402 *encoded = osec->vma + offset in sh_elf_encode_eh_address()
Daout-target.h216 asection *osec ATTRIBUTE_UNUSED) in MY_bfd_copy_private_section_data()
Delf32-tilepro.c3298 asection *osec; in tilepro_elf_relocate_section() local
3305 osec = sec->output_section; in tilepro_elf_relocate_section()
3306 indx = elf_section_data (osec)->dynindx; in tilepro_elf_relocate_section()
3310 osec = htab->elf.text_index_section; in tilepro_elf_relocate_section()
3311 indx = elf_section_data (osec)->dynindx; in tilepro_elf_relocate_section()
Delfxx-tilegx.c3707 asection *osec; in tilegx_elf_relocate_section() local
3714 osec = sec->output_section; in tilegx_elf_relocate_section()
3715 indx = elf_section_data (osec)->dynindx; in tilegx_elf_relocate_section()
3719 osec = htab->elf.text_index_section; in tilegx_elf_relocate_section()
3720 indx = elf_section_data (osec)->dynindx; in tilegx_elf_relocate_section()
Delf32-m68k.c4059 asection *osec; in elf_m68k_relocate_section() local
4066 osec = sec->output_section; in elf_m68k_relocate_section()
4067 indx = elf_section_data (osec)->dynindx; in elf_m68k_relocate_section()
4072 osec = htab->text_index_section; in elf_m68k_relocate_section()
4073 indx = elf_section_data (osec)->dynindx; in elf_m68k_relocate_section()
/toolchain/binutils/binutils-2.25/ld/
Dldmain.c923 asection *osec; in multiple_definition() local
932 osec = h->u.def.section; in multiple_definition()
937 osec = bfd_ind_section_ptr; in multiple_definition()
948 && bfd_is_abs_section (osec) in multiple_definition()
958 if ((osec->output_section != NULL in multiple_definition()
959 && ! bfd_is_abs_section (osec) in multiple_definition()
960 && bfd_is_abs_section (osec->output_section)) in multiple_definition()
970 nsec = osec; in multiple_definition()
977 einfo (_("%D: first defined here\n"), obfd, osec, oval); in multiple_definition()
/toolchain/binutils/binutils-2.25/gold/
Dscript-sections.cc4216 Output_section* osec = oseg->section_with_lowest_load_address(); in set_phdrs_clause_addresses() local
4217 if (osec == NULL) in set_phdrs_clause_addresses()
4223 uint64_t vma = osec->address(); in set_phdrs_clause_addresses()
4224 uint64_t lma = osec->has_load_address() ? osec->load_address() : vma; in set_phdrs_clause_addresses()
4230 if (osec->has_load_address()) in set_phdrs_clause_addresses()
4233 osec->name()); in set_phdrs_clause_addresses()

12