Lines Matching defs:ibfd

2479 ppc64_elf_merge_private_bfd_data (bfd *ibfd, bfd *obfd)
2482 if (ibfd->xvec->byteorder != obfd->xvec->byteorder
2483 && ibfd->xvec->byteorder != BFD_ENDIAN_UNKNOWN
2488 if (bfd_big_endian (ibfd))
2495 (*_bfd_error_handler) (msg, ibfd);
3950 ppc64_elf_add_symbol_hook (bfd *ibfd ATTRIBUTE_UNUSED,
3959 && strcmp (bfd_get_section_name (ibfd, *sec), ".opd") == 0)
5680 bfd *ibfd)
5682 Elf_Internal_Shdr *symtab_hdr = &elf_tdata (ibfd)->symtab_hdr;
5686 struct elf_link_hash_entry **sym_hashes = elf_sym_hashes (ibfd);
5726 locsyms = bfd_elf_get_elf_syms (ibfd, symtab_hdr,
5747 symsec = bfd_section_from_elf_index (ibfd, sym->st_shndx);
5757 lgot_ents = elf_local_got_ents (ibfd);
5776 const Elf_Internal_Rela *rel, bfd *ibfd)
5786 if (!get_sym_h (&h, &sym, &sec, tls_maskp, locsymsp, r_symndx, ibfd))
5806 if (!get_sym_h (&h, &sym, &sec, tls_maskp, locsymsp, r_symndx, ibfd))
5881 bfd *ibfd;
5885 for (ibfd = info->input_bfds; ibfd != NULL; ibfd = ibfd->link_next)
5898 sec = bfd_get_section_by_name (ibfd, ".opd");
5921 symtab_hdr = &elf_tdata (ibfd)->symtab_hdr;
5922 sym_hashes = elf_sym_hashes (ibfd);
5925 relstart = _bfd_elf_link_read_relocs (ibfd, sec, NULL, NULL,
5958 (_("%B: .opd is not a regular array of opd entries"), ibfd);
5968 ibfd, r_type);
5975 r_symndx, ibfd))
5984 sym_name = bfd_elf_local_sym_name (ibfd, sym);
5988 ibfd, sym_name);
6000 if (sym_sec->owner != ibfd
6060 if (!bfd_malloc_and_get_section (ibfd, sec, &loc))
6104 r_symndx, ibfd))
6128 skip = (sym_sec->owner != ibfd
6132 if (fdh != NULL && sym_sec->owner == ibfd)
6338 bfd *ibfd;
6346 for (ibfd = info->input_bfds; ibfd != NULL; ibfd = ibfd->link_next)
6350 for (sec = ibfd->sections; sec != NULL; sec = sec->next)
6357 relstart = _bfd_elf_link_read_relocs (ibfd, sec, NULL, NULL,
6378 r_symndx, ibfd))
6384 && (elf_tdata (ibfd)->symtab_hdr.contents
6425 ppc64_tlsld_got (ibfd)->refcount -= 1;
6487 rel - 1, ibfd);
6560 ent = elf_local_got_ents (ibfd)[r_symndx];
6564 && ent->owner == ibfd
6611 && (elf_tdata (ibfd)->symtab_hdr.contents
6617 elf_tdata (ibfd)->symtab_hdr.contents = (unsigned char *) locsyms;
6875 bfd *ibfd;
6897 for (ibfd = info->input_bfds; ibfd != NULL; ibfd = ibfd->link_next)
6906 if (!is_ppc64_elf_target (ibfd->xvec))
6909 if (ppc64_tlsld_got (ibfd)->refcount > 0)
6911 s = ppc64_elf_tdata (ibfd)->got;
6912 ppc64_tlsld_got (ibfd)->offset = s->size;
6916 srel = ppc64_elf_tdata (ibfd)->relgot;
6921 ppc64_tlsld_got (ibfd)->offset = (bfd_vma) -1;
6923 for (s = ibfd->sections; s != NULL; s = s->next)
6950 lgot_ents = elf_local_got_ents (ibfd);
6954 symtab_hdr = &elf_tdata (ibfd)->symtab_hdr;
6958 s = ppc64_elf_tdata (ibfd)->got;
6959 srel = ppc64_elf_tdata (ibfd)->relgot;
6969 if (ppc64_tlsld_got (ibfd)->offset == (bfd_vma) -1)
6971 ppc64_tlsld_got (ibfd)->offset = s->size;
6976 ent->got.offset = ppc64_tlsld_got (ibfd)->offset;
7074 for (ibfd = info->input_bfds; ibfd != NULL; ibfd = ibfd->link_next)
7076 if (!is_ppc64_elf_target (ibfd->xvec))
7079 s = ppc64_elf_tdata (ibfd)->got;
7086 s->contents = bfd_zalloc (ibfd, s->size);
7091 s = ppc64_elf_tdata (ibfd)->relgot;
7098 s->contents = bfd_zalloc (ibfd, s->size);