Lines Matching refs:glink
2780 is_nonpic_glink_stub (bfd *abfd, asection *glink, bfd_vma off) in is_nonpic_glink_stub() argument
2784 if (!bfd_get_section_contents (abfd, glink, buf, off, GLINK_ENTRY_SIZE)) in is_nonpic_glink_stub()
2808 asection *plt, *relplt, *dynamic, *glink; in ppc_elf_get_synthetic_symtab() local
2892 glink = bfd_sections_find_if (abfd, section_covers_vma, &glink_vma); in ppc_elf_get_synthetic_symtab()
2893 if (glink == NULL) in ppc_elf_get_synthetic_symtab()
2898 if (bfd_get_section_contents (abfd, glink, buf, in ppc_elf_get_synthetic_symtab()
2899 glink_vma - glink->vma, 4)) in ppc_elf_get_synthetic_symtab()
2911 bfd_get_section_contents (abfd, glink, buf, in ppc_elf_get_synthetic_symtab()
2912 glink_vma - glink->vma + i, 4); in ppc_elf_get_synthetic_symtab()
2927 if (!is_nonpic_glink_stub (abfd, glink, in ppc_elf_get_synthetic_symtab()
2928 glink_vma - GLINK_ENTRY_SIZE - glink->vma)) in ppc_elf_get_synthetic_symtab()
2965 s->section = glink; in ppc_elf_get_synthetic_symtab()
2966 s->value = stub_vma - glink->vma; in ppc_elf_get_synthetic_symtab()
2989 s->section = glink; in ppc_elf_get_synthetic_symtab()
2990 s->value = glink_vma - glink->vma; in ppc_elf_get_synthetic_symtab()
3003 s->section = glink; in ppc_elf_get_synthetic_symtab()
3004 s->value = resolv_vma - glink->vma; in ppc_elf_get_synthetic_symtab()
3146 asection *glink; member
3381 htab->glink = s; in ppc_elf_create_glink()
3444 if (htab->glink == NULL in ppc_elf_create_dynamic_sections()
3890 if (htab->glink == NULL) in ppc_elf_check_relocs()
4876 if (htab->glink != NULL in ppc_elf_select_plt_layout()
4877 && !bfd_set_section_alignment (htab->elf.dynobj, htab->glink, 0)) in ppc_elf_select_plt_layout()
5675 sh->root.u.def.section = htab->glink; in add_stub_sym()
5776 s = htab->glink; in allocate_dynrelocs()
6267 s = htab->glink; in ppc_elf_size_dynamic_sections()
6334 if (htab->glink != NULL in ppc_elf_size_dynamic_sections()
6335 && htab->glink->size != 0 in ppc_elf_size_dynamic_sections()
6338 htab->glink_pltresolve = htab->glink->size; in ppc_elf_size_dynamic_sections()
6340 htab->glink->size += htab->glink->size / (GLINK_ENTRY_SIZE / 4) - 4; in ppc_elf_size_dynamic_sections()
6342 htab->glink->size += -htab->glink->size & (htab->params->ppc476_workaround in ppc_elf_size_dynamic_sections()
6344 htab->glink->size += GLINK_PLTRESOLVE; in ppc_elf_size_dynamic_sections()
6356 sh->root.u.def.section = htab->glink; in ppc_elf_size_dynamic_sections()
6371 sh->root.u.def.section = htab->glink; in ppc_elf_size_dynamic_sections()
6372 sh->root.u.def.value = htab->glink->size - GLINK_PLTRESOLVE; in ppc_elf_size_dynamic_sections()
6382 if (htab->glink != NULL in ppc_elf_size_dynamic_sections()
6383 && htab->glink->size != 0 in ppc_elf_size_dynamic_sections()
6393 if (htab->glink->size - GLINK_PLTRESOLVE + 8 >= 256) in ppc_elf_size_dynamic_sections()
6420 || s == htab->glink in ppc_elf_size_dynamic_sections()
6503 && htab->glink != NULL in ppc_elf_size_dynamic_sections()
6504 && htab->glink->size != 0) in ppc_elf_size_dynamic_sections()
6561 bfd_put_32 (htab->elf.dynobj, htab->glink->size, p); in ppc_elf_size_dynamic_sections()
6569 bfd_vma adv = (htab->glink->size - GLINK_PLTRESOLVE + 8) >> 2; in ppc_elf_size_dynamic_sections()
6969 tsec = htab->glink; in ppc_elf_relax_section()
7078 || tsec == htab->glink) in ppc_elf_relax_section()
7997 unsigned char *p = ((unsigned char *) htab->glink->contents in ppc_elf_relocate_section()
8008 relocation = (htab->glink->output_section->vma in ppc_elf_relocate_section()
8009 + htab->glink->output_offset in ppc_elf_relocate_section()
8572 relocation = (htab->glink->output_section->vma in ppc_elf_relocate_section()
8573 + htab->glink->output_offset in ppc_elf_relocate_section()
8708 relocation = (htab->glink->output_section->vma in ppc_elf_relocate_section()
8709 + htab->glink->output_offset in ppc_elf_relocate_section()
9674 + htab->glink->output_section->vma in ppc_elf_finish_dynamic_symbol()
9675 + htab->glink->output_offset); in ppc_elf_finish_dynamic_symbol()
9737 (output_bfd, htab->glink->output_section)); in ppc_elf_finish_dynamic_symbol()
9739 + htab->glink->output_offset in ppc_elf_finish_dynamic_symbol()
9740 + htab->glink->output_section->vma); in ppc_elf_finish_dynamic_symbol()
9755 p = (unsigned char *) htab->glink->contents + ent->glink_offset; in ppc_elf_finish_dynamic_symbol()
10049 if (htab->glink != NULL in ppc_elf_finish_dynamic_sections()
10050 && htab->glink->contents != NULL in ppc_elf_finish_dynamic_sections()
10163 p = htab->glink->contents; in ppc_elf_finish_dynamic_sections()
10165 endp = htab->glink->contents; in ppc_elf_finish_dynamic_sections()
10166 endp += htab->glink->size - GLINK_PLTRESOLVE; in ppc_elf_finish_dynamic_sections()
10179 + htab->glink->output_section->vma in ppc_elf_finish_dynamic_sections()
10180 + htab->glink->output_offset); in ppc_elf_finish_dynamic_sections()
10189 bfd_vma glink_start = (htab->glink->output_section->vma in ppc_elf_finish_dynamic_sections()
10190 + htab->glink->output_offset); in ppc_elf_finish_dynamic_sections()
10200 loc = htab->glink->contents + page_addr - 4 - glink_start; in ppc_elf_finish_dynamic_sections()
10231 bcl = (htab->glink->size - GLINK_PLTRESOLVE + 3*4 in ppc_elf_finish_dynamic_sections()
10232 + htab->glink->output_section->vma in ppc_elf_finish_dynamic_sections()
10233 + htab->glink->output_offset); in ppc_elf_finish_dynamic_sections()
10304 val = (htab->glink->output_section->vma in ppc_elf_finish_dynamic_sections()
10305 + htab->glink->output_offset); in ppc_elf_finish_dynamic_sections()