Lines Matching refs:osi
14841 elf32_arm_output_map_sym (output_arch_syminfo *osi,
14848 sym.st_value = osi->sec->output_section->vma
14849 + osi->sec->output_offset
14854 sym.st_shndx = osi->sec_shndx;
14856 elf32_arm_section_map_add (osi
14857 return osi->func (osi->flaginfo, names[type], &sym, osi->sec, NULL) == 1;
14864 elf32_arm_output_plt_map_1 (output_arch_syminfo *osi,
14875 htab = elf32_arm_hash_table (osi->info);
14881 osi->sec = htab->root.iplt;
14886 osi->sec = htab->root.splt;
14889 osi->sec_shndx = (_bfd_elf_section_from_bfd_section
14890 (osi->info->output_bfd, osi->sec->output_section));
14895 if (!elf32_arm_output_map_sym (osi, ARM_MAP_ARM, addr))
14897 if (!elf32_arm_output_map_sym (osi, ARM_MAP_DATA, addr + 4))
14902 if (!elf32_arm_output_map_sym (osi, ARM_MAP_ARM, addr))
14904 if (!elf32_arm_output_map_sym (osi, ARM_MAP_DATA, addr + 8))
14906 if (!elf32_arm_output_map_sym (osi, ARM_MAP_ARM, addr + 12))
14908 if (!elf32_arm_output_map_sym (osi, ARM_MAP_DATA, addr + 20))
14913 if (!elf32_arm_output_map_sym (osi, ARM_MAP_ARM, addr))
14918 if (!elf32_arm_output_map_sym (osi, ARM_MAP_THUMB, addr))
14925 thumb_stub_p = elf32_arm_plt_needs_thumb_stub_p (osi->info, arm_plt);
14928 if (!elf32_arm_output_map_sym (osi, ARM_MAP_THUMB, addr - 4))
14932 if (!elf32_arm_output_map_sym (osi, ARM_MAP_ARM, addr))
14934 if (!elf32_arm_output_map_sym (osi, ARM_MAP_DATA, addr + 12))
14942 if (!elf32_arm_output_map_sym (osi, ARM_MAP_ARM, addr))
14956 output_arch_syminfo *osi = (output_arch_syminfo *) inf;
14969 return elf32_arm_output_plt_map_1 (osi, SYMBOL_CALLS_LOCAL (osi->info, h),
14976 elf32_arm_output_stub_sym (output_arch_syminfo *osi, const char *name,
14981 sym.st_value = osi->sec->output_section->vma
14982 + osi->sec->output_offset
14987 sym.st_shndx = osi->sec_shndx;
14989 return osi->func (osi->flaginfo, name, &sym, osi->sec, NULL) == 1;
15000 output_arch_syminfo *osi;
15009 osi = (output_arch_syminfo *) in_arg;
15015 if (stub_sec != osi->sec)
15025 if (!elf32_arm_output_stub_sym (osi, stub_name, addr, stub_entry->stub_size))
15030 if (!elf32_arm_output_stub_sym (osi, stub_name, addr | 1,
15066 if (!elf32_arm_output_map_sym (osi, sym_type, addr + size))
15107 output_arch_syminfo osi;
15119 osi.flaginfo = flaginfo;
15120 osi.info = info;
15121 osi.func = func;
15131 for (osi.sec = input_bfd->sections;
15132 osi.sec != NULL;
15133 osi.sec = osi.sec->next)
15135 if (osi.sec->output_section != NULL
15136 && ((osi.sec->output_section->flags & (SEC_ALLOC | SEC_CODE))
15138 && (osi.sec->flags & (SEC_HAS_CONTENTS | SEC_LINKER_CREATED))
15140 && get_arm_elf_section_data (osi.sec) != NULL
15141 && get_arm_elf_section_data (osi.sec)->mapcount == 0
15142 && osi.sec->size > 0
15143 && (osi.sec->flags & SEC_EXCLUDE) == 0)
15145 osi.sec_shndx = _bfd_elf_section_from_bfd_section
15146 (output_bfd, osi.sec->output_section);
15147 if (osi.sec_shndx != (int)SHN_BAD)
15148 elf32_arm_output_map_sym (&osi, ARM_MAP_DATA, 0);
15156 osi.sec = bfd_get_linker_section (htab->bfd_of_glue_owner,
15159 osi.sec_shndx = _bfd_elf_section_from_bfd_section
15160 (output_bfd, osi.sec->output_section);
15171 elf32_arm_output_map_sym (&osi, ARM_MAP_ARM, offset);
15172 elf32_arm_output_map_sym (&osi, ARM_MAP_DATA, offset + size - 4);
15179 osi.sec = bfd_get_linker_section (htab->bfd_of_glue_owner,
15182 osi.sec_shndx = _bfd_elf_section_from_bfd_section
15183 (output_bfd, osi.sec->output_section);
15188 elf32_arm_output_map_sym (&osi, ARM_MAP_THUMB, offset);
15189 elf32_arm_output_map_sym (&osi, ARM_MAP_ARM, offset + 4);
15196 osi.sec = bfd_get_linker_section (htab->bfd_of_glue_owner,
15199 osi.sec_shndx = _bfd_elf_section_from_bfd_section
15200 (output_bfd, osi.sec->output_section);
15202 elf32_arm_output_map_sym (&osi, ARM_MAP_ARM, 0);
15218 osi.sec = stub_sec;
15220 osi.sec_shndx = _bfd_elf_section_from_bfd_section
15221 (output_bfd, osi.sec->output_section);
15223 bfd_hash_traverse (&htab->stub_hash_table, arm_map_one_stub, &osi);
15230 osi.sec = htab->root.splt;
15231 osi.sec_shndx = (_bfd_elf_section_from_bfd_section
15232 (output_bfd, osi.sec->output_section));
15241 if (!elf32_arm_output_map_sym (&osi, ARM_MAP_ARM, 0))
15243 if (!elf32_arm_output_map_sym (&osi, ARM_MAP_DATA, 12))
15249 if (!elf32_arm_output_map_sym (&osi, ARM_MAP_ARM, 0))
15254 if (!elf32_arm_output_map_sym (&osi, ARM_MAP_THUMB, 0))
15256 if (!elf32_arm_output_map_sym (&osi, ARM_MAP_DATA, 12))
15258 if (!elf32_arm_output_map_sym (&osi, ARM_MAP_THUMB, 16))
15263 if (!elf32_arm_output_map_sym (&osi, ARM_MAP_ARM, 0))
15266 if (!elf32_arm_output_map_sym (&osi, ARM_MAP_DATA, 16))
15274 osi.sec = htab->root.iplt;
15275 osi.sec_shndx = (_bfd_elf_section_from_bfd_section
15276 (output_bfd, osi.sec->output_section));
15277 if (!elf32_arm_output_map_sym (&osi, ARM_MAP_ARM, 0))
15283 elf_link_hash_traverse (&htab->root, elf32_arm_output_plt_map, &osi);
15297 && !elf32_arm_output_plt_map_1 (&osi, TRUE,
15307 if (!elf32_arm_output_map_sym (&osi, ARM_MAP_ARM, htab->dt_tlsdesc_plt))
15310 if (!elf32_arm_output_map_sym (&osi, ARM_MAP_DATA,
15317 if (!elf32_arm_output_map_sym (&osi, ARM_MAP_ARM, htab->tls_trampoline))
15320 if (!elf32_arm_output_map_sym (&osi, ARM_MAP_DATA,